- Home
- Skills
- Agents & Orchestration
- Laravel Upgrade 10 to 13, Step by Step
Laravel Upgrade 10 to 13, Step by Step
Your coding agent moves your Laravel app from 10 to 11 to 12 to 13, one major at a time, with an inventory first, the real breaking changes of each step, tests green at each step and a way back.
$7
Works with the AI Agents you already use
Laravel Upgrade 10 to 13, Step by Step
Example session with this skill installed
We're on Laravel 10 with PHP 8.2. Get us to Laravel 13. Start with the inventory and tell me what blocks us.
- Read your context and instructions
- Compiled the laravel upgrade 10
Summary (example run). Laravel 10.48, PHP 8.2 on all environments. Path: 10 to 11 to 12 to 13. Laravel 13 needs PHP 8.3, so the PHP bump ships alone before step 3. Two packages block step 1.
Inventory
| Item | Now | Status |
|---|---|---|
| PHP (local, CI, prod) | 8.2 | OK for 11 and 12, bump to 8.3 before 13 |
| laravel/sanctum | 3.3 | Bump to 4, publish its migrations |
| spatie/laravel-medialibrary | 10.x | Blocks 11, needs 11.x |
| acme/pdf-invoices (third party) | 2.1 | Pins illuminate/support ^10, check for a new release |
Migrations with ->change() | 3 | Restate modifiers |
diffInDays() calls | 7 | Cast for Carbon 3 (step 2) |
| Test suite | 212 tests, 2 failing | Written down: the promise is no new failures |
Step 1 plan (10 to 11)
git switch -c upgrade/laravel-11
cp composer.lock composer.lock.before-11
composer update -W
php artisan optimize:clear && php artisan test
Kept: Kernel classes and RouteServiceProvider. Laravel 11 supports the old structure.
Rollback
git switch - then composer install.
Next steps
- Ask the maintainer of
acme/pdf-invoicesfor a Laravel 11 release, or find a replacement. - Start step 1 once you agree with the plan.
Connects securely to your tools. The creator never sees your data.
About this skill
Your app is stuck on Laravel 10. Composer fights you on laravel/framework, a few packages pin old versions, and the upgrade guide is long. Jumping straight to 13 is how you lose a week.
This skill makes your agent do it the safe way: one major at a time, each step its own branch, tests green before the next.
What it does
- Starts with an inventory: PHP on every environment, first party and third party packages, the packages blocking the target version (
composer why-not), custom classes that implement framework contracts, risky migrations, and the state of your test suite. - No tests? It writes a few smoke tests first.
- For each step, it reads the matching step file (10 to 11, 11 to 12, 12 to 13), bumps
composer.json, fixes conflicts one package at a time, and applies only the changes that match your app. - Knows the traps in real apps:
->change()dropping column modifiers, package migrations that stop auto loading, Carbon 3 returning floats, UUIDv7 in Laravel 12, the CSRF middleware rename andserializable_classesin Laravel 13.
What you get One branch per major, a rollback command, and an upgrade note for the PR: versions, packages, files changed, items checked and skipped, tests before and after.
What it doesn't do It doesn't move you to the slim Laravel 11 structure during the upgrade. That's a separate, optional PR. It won't commit a Rector diff without review.
Only supports upgrades from Laravel 10 upwards. Requires a clean git status. Does not automate the move to the optional slim Laravel 11 structure.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
Requires
Permissions
File Scopes