Skip to content

Aurora 1.5 is out!

What's new →
Docs menu

Reference

Artisan commands

Install, make blocks, import and keep translations in sync.

CommandWhat it does
aurora:installSets up the CMS: key, database, required content, labels, admin account. Options: --fresh, --force, --seed, --site-name, --language, --languages, --name, --email, --password, --build v1.0.6 (installs and builds the website's front end without asking), --interactive-only v1.0.1 (the starter app's create-project runs it this way: without a terminal to answer in, it says how to finish)
make:aurora-layout {name} v1.2.2Creates a page layout in code: its class in app/Layouts and its view in resources/views/layouts, started from the standard layout. Editors can pick it straight away. Options: --description, --icon, --force
aurora:reindex v1.0.4Rebuilds the search index from every page's content. Options: --site (a site's handle; every site otherwise)
aurora:block-previews v1.3.0Lists each block's sample page (the block alone, from its example data, at a signed address) and the file its screenshot goes in, resources/block-previews/{type}.webp. Options: --missing (only blocks without one), --minutes (how long the addresses work; 120)
make:aurora-userCreates a user and gives them a role, asking the same questions as make:filament-user plus the role. Options: --name, --email, --password, --role (a role's name, e.g. Editor)
aurora:make-block {name}Creates a block class and its view. Options: --container, --category, --icon, --force
aurora:import-wordpress {file}Imports a WordPress export. Options: --site, --without-posts, --without-media
aurora:sync-permissions v1.4.0Creates the website's new permissions (Permissions::register()) and gives them to the roles they're granted to; run it after deploying new ones
aurora:sync-translationsAdds new labels from the code to the default lang file, then imports the lang files
aurora:import-translationsImports labels from the lang files, keeping edits made in the admin
aurora:export-translationsWrites labels edited in the admin back to lang files
mcp:start cmsRuns the MCP server over stdio, for local development