CLI Commands
Composer scripts, npm scripts, and artisan extension commands
Last updated: Feb 09, 2026
CLI Commands
Composer Scripts
| Command | Action |
|---|---|
composer setup | Full install: composer install, .env copy, key:generate, migrate, npm install/build |
composer dev | Concurrently runs: php artisan serve + queue:listen + npm run dev |
composer dev:ssr | Runs serve + queue + pail + Inertia SSR |
composer test | config:clear + pest |
NPM Scripts
| Command | Action |
|---|---|
npm run dev | Vite dev server (HMR) |
npm run build | Production build |
npm run build:ssr | Production build + SSR bundle |
npm run lint | ESLint fix |
npm run format | Prettier format resources/ |
npm run format:check | Prettier check (CI) |
Artisan Extension Commands
| Command | Purpose |
|---|---|
php artisan cartxis:extensions:list | Show all discovered extensions |
php artisan cartxis:extensions:sync | Sync filesystem to database |
php artisan cartxis:extensions:install {code} | Install an extension |
php artisan cartxis:extensions:activate {code} | Activate an extension |
php artisan cartxis:extensions:deactivate {code} | Deactivate an extension |
php artisan cartxis:extensions:uninstall {code} | Remove an extension |
