Skip to content

Capell CLI Command Index

This page is the short command map for the host packages in this repository. Run php artisan list capell inside an installed app for the live command list, including optional add-on packages.

CommandUse it for
capell:installRun the main installer, optional demo setup, package setup, and first user
capell:upgradeRun Capell upgrade phases, migrations, registered steps, and cache cleanup
capell:rollbackRoll back a recorded upgrade step
capell:doctorRun installation and environment checks
capell:publish-migrationsPublish Capell migrations or selected migration files
capell:publish-componentsPublish frontend Blade component views
capell:cache-componentsCache registered component metadata
capell:clear-components-cacheClear cached component metadata
capell:package-cacheRefresh cached installed package metadata
capell:package-cache:clearClear cached installed package metadata
CommandUse it for
capell:extension-installRun install workflows for one or more installed extension packages
capell:extension-auditValidate a package directory or capell.json against extension contracts
capell:extension-playgroundInspect an extension from a package name, directory, or manifest path
capell:make-extensionScaffold a local extension package and manifest
CommandUse it for
capell:makePreview or run any maker registered in MakerRegistry
capell:make-actionGenerate an Action class under App\Actions
capell:make-dataGenerate a Laravel Data class under App\Data
capell:make-extenderGenerate a PageSchemaExtender
capell:make-schemaGenerate a schema class
capell:make-typeGenerate a page Type class

The maker hub accepts --dry-run, --force, --name=, --type=, --source=, --livewire, and --database where a maker supports them. Use capell:make --dry-run before writing files when you are checking a generator.

CommandUse it for
capell:fakerCreate local test content, optionally including package-provided data
capell:core-fakerCreate core-only local test content

These are development helpers. Do not run them against production data.

CommandUse it for
capell:admin-installInstall admin package requirements and optionally integrate a panel
capell:admin-setupCreate initial admin data and wire Capell into a Filament panel
capell:admin-upgradeRun admin package upgrade work
capell:admin-upgrade-summary-emailSend the configured upgrade summary notification
capell:admin-clear-cacheClear Capell admin cache and package cache
capell:admin-cache-widgetsCache discoverable admin widgets
capell:admin-clear-widgets-cacheClear discoverable admin widget cache
capell:admin-cache-configuratorsCache registered configurators
capell:admin-clear-configurators-cacheClear registered configurator cache
capell:admin-publish-resourcesPublish selected admin resources for advanced app-level customisation

Do not use older schema publishing commands unless the installed package version still exposes them. Current admin customisation should prefer configurators, extenders, bridges, and resource contributions.

CommandUse it for
capell:frontend-installRun frontend install work
capell:frontend-after-installBuild frontend assets after package install
capell:frontend-upgradeRun frontend package upgrade work

Static-site generation, sitemap generation, Tailwind aggregation, and demo commands are supplied by optional packages in a consuming app. Treat php artisan list capell as the source of truth for that install.

Common optional owners:

CommandPackage
capell:static-sitecapell-app/html-cache
capell:xml-sitemapcapell-app/site-discovery
capell:frontend-tailwind-assetscapell-app/foundation-theme
capell:admin-democapell-app/demo-kit
capell:demo-kit-full-democapell-app/demo-kit

These commands are defined in the root composer.json or package.json:

ScriptUse it for
composer prepareDiscover Testbench packages
composer test:fastRun the sharded fast Pest command while developing
composer testRun the full Pest test suite
composer lintRun changed-file Pint formatting
composer analyzeRun the fast PHPStan configuration
composer preflightRun fast PHPStan and changed-file formatting
composer preflight:allRun Composer path checks, Rector, Pint, Prettier, ESLint, PHPStan, and Pest
composer serveBuild and serve the Testbench workbench
npm run screenshotsCapture docs screenshots through the sibling screenshot runner
npm run screenshots:checkValidate docs screenshot manifests through the sibling screenshot runner
npm run docs:publishSync the local core docs into the external docs app and build it
  • Host commands use capell:<name> or capell:<package>-<verb>.
  • Optional add-ons may add their own capell:<package>-<verb> commands.
  • Do not copy command names from docs/superpowers plans without checking source or php artisan list capell; many plans describe proposed or extracted package behaviour.

See Artisan commands for the longer command reference with common options.