CLI Commands
CLI Commands
The ./ispa command
./ispa is a short name for the development and maintenance commands. On Windows use php ispa .... Extra arguments are passed through unchanged.
| Command | Same as | What it does |
|---|---|---|
./ispa start | php artisan cms:dev | Runs the PHP server, the site Vite and the admin Vite together (--port, --admin-port); Ctrl+C stops all three |
./ispa build | php artisan cms:build | Builds the site assets and the admin (--site, --admin) |
./ispa upgrade | php artisan cms:core-upgrade | Upgrades the core (--to, --check, --dry-run, --restore, --run-requested) |
Install and configuration
php artisan cms:install --admin-email=you@example.com # install a new site, safe to run again
php artisan cms:admin-config # rewrite public/iPanel/config.js from .env
php artisan cms:hub-setup-code # print a new Hub setup code
php artisan cms:platform-report --dry-run # show the report sent to iSPA without sending it
Versions
php artisan cms:version [--json] # the release version
php artisan cms:bump # bump the release to the next CalVer
php artisan cms:bump --module=<Name> # bump one module
See CalVer Versioning.
Modules and backups
php artisan cms:make-module <Name> --mode=lite|normal|full --entity=<Entity>
php artisan cms:module-status [set <Name> on|off]
php artisan cms:backup-run --reason=manual
php artisan cms:backup-verify <uuid>
php artisan cms:backup-prune --dry-run
See also Backups. Run php artisan list cms to see every cms:* command on your site.

