Within a major#
composer update andreapollastri/larapilot laravel/boost --with-dependencies
php artisan larapilot:update
php artisan larapilot:doctorlarapilot:update refreshes the rules behind the skills, the task templates, the integrations guide, and the packaged design systems (--preserve-design-systems keeps yours), re-registers your custom skills, realigns the forecast, then updates Boost and republishes. It never touches config.yaml, the PRD, the plans, the domain docs, or your skills.
To 6.0.1#
Nothing to migrate. Four things behave differently from 6.0.0:
- Git follows the story. Under a Gitflow
git_mode,spec-startputs the story on its branch andspec-approvemerges it — the last item of the list below, which the 6.0.0 package did not carry yet.LARAPILOT_STORY_BRANCHES=falsekeeps git in your hands. See Between stories. spec-show --task=returns the task, not the story with it. A script of yours that read the story from that call adds--story.- With no token, the API and the MCP server over HTTP answer only under a name of your machine —
localhost, an address, a.testdomain, the host ofAPP_URL. Behind a tunnel or in a cloud workspace, make a token (larapilot:api-token generate) or list the host inLARAPILOT_API_OPEN_HOSTS. - Through MCP,
validate-prd,validate-spec, andvalidate-planread a payload or a document of the project — a YAML, JSON, or Markdown file inside it, never an environment or a credentials file.
Updates by themselves#
Larapilot can keep itself current within the constraint of your composer.json:
php artisan larapilot:self-update check # what Packagist has, and what the constraint lets in
php artisan larapilot:self-update apply # composer update, then larapilot:update in a new process
php artisan larapilot:self-update apply --force # the same even when nothing is newer
php artisan larapilot:self-update auto --on # every night at 04:MM, from the Laravel schedulerThe nightly run needs the scheduler, waits while composer.json or composer.lock has uncommitted changes, and never runs in production. A new major is announced, never installed by itself. Admins do the same from the Updates page — opened from the version number at the foot of the sidebar, with a dot when a release is ready — which also shows the last run and its log.
Started from the page, the update runs as it would from your shell: with your home directory, the PHP of the project, and a composer.phar at the root of the project when there is one. When the web server does not find Composer, name it: LARAPILOT_COMPOSER=/full/path/to/composer. On 6.0.0 and 6.0.1 the page stops on The HOME or COMPOSER_HOME environment variable must be set under PHP-FPM: update once from a terminal — the commands of Within a major — and the page works from 6.0.2 on.
From an older major#
composer update stays inside the major your composer.json names, so raise the constraint first:
composer require andreapollastri/larapilot:^6.0 --dev --with-all-dependencies
php artisan larapilot:update
php artisan larapilot:doctorNothing in .larapilot/ is migrated: the PRD, the backlog, the plans, the decisions, and the settings are read as they are. What changes from 5.x to 6.0:
- The dashboard’s CSS variables carry shadcn’s names — a stylesheet of yours that read
--bgor--accentreads--backgroundand--primary. /larapilot/mcpis Larapilot’s MCP server over HTTP — an app route at that address is shadowed (LARAPILOT_MCP_HTTP=falsefrees it).auth.yamlholds passkeys — a downgrade to 5.x drops them, nothing else.- Story comments are gone — what changes the scope goes into the story;
spec-commentand thecommentssetting are removed. spec-planrefuses a story with an open question, andspec-reviewone whose numbered criteria are not verified — both take--force; stories written before 6.0 are not gated.spec-startmoves git,spec-approvemerges — under a Gitflowgit_modethe story goes on itsfeature/US-XXX-*branch at start and back into its base at approval (GITFLOW); a story whose blockers are not implemented does not start. Plans have no TASK-00: tick an older one withtask-done.--no-branch,--no-land, orLARAPILOT_STORY_BRANCHES=falsekeep git in your hands.- Forecast’s AI side reads the model Economics prices with, not a flat speed-up.
The full list is in the changelog.
Laravel, PHP, and the database#
Three skills move the project to a new version, and all three start the same way: a readiness report with the criticalities — blocker, high, medium, low — and nothing changes until you choose to upgrade now, add it to the backlog, or stop at the report.
php artisan larapilot:stack # Laravel, PHP, database, packages, with support windows
php artisan larapilot:upgrade-check --laravel=13 --report
php artisan larapilot:upgrade-check --php=8.4
php artisan larapilot:upgrade-check --db=pgsql:17 --db-from=mysql:8.0/larapilot-laravel-upgradeasks Packagist which release of each dependency supports the target, then upgrades one major at a time on its own branch — the upgrade guide, Filament, Livewire, Inertia, Nova — with the gates after each step and an upgrade report with the rollback./larapilot-php-upgraderuns the suite on the target, finds the packages that exclude it and the deprecated code, and every file that pins PHP: Docker, CI, Vapor, Herd, Sail./larapilot-db-upgradenever touches a shared database: portable code, a rehearsal on a scratch database, the data move, and the cutover runbook.
The About page shows the same facts: each version with its support window, and the command that checks the next upgrade.
