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.

CommandSame asWhat it does
./ispa startphp artisan cms:devRuns the PHP server, the site Vite and the admin Vite together (--port, --admin-port); Ctrl+C stops all three
./ispa buildphp artisan cms:buildBuilds the site assets and the admin (--site, --admin)
./ispa upgradephp artisan cms:core-upgradeUpgrades 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.