Laravel Upgrade 10 to 13, Step by Step

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    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

    ItemNowStatus
    PHP (local, CI, prod)8.2OK for 11 and 12, bump to 8.3 before 13
    laravel/sanctum3.3Bump to 4, publish its migrations
    spatie/laravel-medialibrary10.xBlocks 11, needs 11.x
    acme/pdf-invoices (third party)2.1Pins illuminate/support ^10, check for a new release
    Migrations with ->change()3Restate modifiers
    diffInDays() calls7Cast for Carbon 3 (step 2)
    Test suite212 tests, 2 failingWritten 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-invoices for 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 and serializable_classes in 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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    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

    Software
    GitLaravel 10+ appPHP 8.1+Composer

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    composer.json
    app/**/*.php
    config/*.php
    tests/**/*.php
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    No, on purpose. It goes 10 to 11 to 12 to 13, with tests green and a commit you can revert at each step.

    It writes a few smoke tests first: login, the most used pages, one job, one API call.

    No. The old structure still works on 11 and later. Moving is optional and goes in its own PR, if ever.

    New in Agents & Orchestration