Stitcher console

The Stitcher console is a PHP application which can be run from the commandline. The console adds some useful commands to help you create and manage your website.

The console can be run like this.


# Or with a specific PHP binary
php stitcher


You'll probably use this generate command the most. This command will take all your source files, and stitches them together.

./stitcher site:generate [<route>]


This command will clean all cache and generated file.

./stitcher site:clean [--force]


The router commands can be useful when debugging.

./stitcher router:list [<filter>]
./stitcher router:dispatch <url>