Advanced Guides
Console Commands
Below is a list of all available Laravel console commands that come bundled with Autoload.
General
Deploy
This command will run through a series of commands commonly used to deploy a Autoload-powered site; including
autoload:cache
, optimize
, icons:cache
, etc.
1php artisan autoload:deploy
Cache
This command will first clear all available [caches](/docs/caching) and then loop through all active Pages and statically cache them. Once they are cached, if the minify configuration is enabled, it will then minify the static HTML files.
1php artisan autoload:cache {--slug= : The Slug of the Page to re-cache}
Clear Cache
This command will only clear all available [caches](/docs/caching).
1php artisan autoload:clear-cache
Clear Media Conversions
This command delete any previously created [Media](/docs/images) conversions.
1php artisan autoload:clear-conversions
Seed Roles & Permissions
This command will seed any new Roles and Permissions.
1php artisan autoload:seed-permissions
Minify HTML
This command will minify any statically cached Pages, if the configuration allows.
1php artisan autoload:minify-html
Make
Make Content Block
This command will create a new Content Block.
1php artisan make:autoload-content-block {name}
Make Page Builder Component
This command will create a Content Block's View Component that extends the Page Builder component.
1php artisan make:autoload-component {name}
Make Custom Field
This command will create a new Custom Field.
1php artisan make:autoload-field {name}
Make Content Transformer
This command will create a new Content Transformer.
1php artisan make:autoload-transformer {name}