Applications

Jigsaw – Blade Static Site Generator

Published

Adam Wathan created a new application named Jigsaw that allows you to quickly generate a flat file site utilizing Laravel Blade.

Installation is through composer as a global package:

composer global require jigsaw/jigsaw:dev-master

Then after the installation, you can run jigsaw init my-site to have a brand new site scaffold out. Once you’ve made changes just run jigsaw build to generate a full HTML site of all your files.

A nice feature that it includes is the ability to have friendly URL’s by converting files like about.blade.php to /about/index.html. That setting is configurable for those that like the .html in their URL’s.

The next time you want to build a simple static site take a look at Jigsaw. The major advantage to this system is most Laravel developers are already comfortable with Blade so building out the templates doesn’t require fighting with some other template system.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article