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


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

php artisan templates:sync


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

php artisan templates:clean


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