Artisan

This section will go over how to use the Templates module with Laravel's Artisan console.

templates:sync

The sync command will loop over all template files and syncs them to the database.

php artisan templates:sync

templates:clean

The clean method will go through all template files and removes any not found in the database.

php artisan templates:clean

templates:push

The push command will push all templates from the database to the filesystem. This is useful if you import templates via an SQL import.

php artisan templates:push