cache commands
Laravel-only cache maintenance powered by artisan. Commands are non-interactive and respect the site’s configured PHP version and owner.
clear
Clear framework caches for a Laravel site.
Usage: simai-admin.sh cache clear --domain <domain>
Behavior:
- Validates domain and profile (laravel-only); non-Laravel sites get a clear error with guidance.
- Requires
artisanin the site root; otherwise fails with a hint to runsite doctor. - Runs, as the site owner, the following in order with progress:
cache:clear,config:clear,route:clear,view:clearusing the site’s PHP version (requiresphp<version>to be installed; install viasimai-admin.sh php install --php <ver>). - Alias:
cache runinvokes the same behavior.