Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincej's avatar
Level 15

Upgrading to L13 using AI Confusion

I have two machines to upgrade. The docs say using Laravel-boost 2.0+ it has instructions in it which will help and AI. It also says to share this with your agent. "use the /upgrade-laravel-v13 slash command". Well, when upgrading my Linux server, I used Claude code agent, and Claude told me that Boost has nothing in it, and it had no idea what the slash command was about, so it just went to the docs.

Question: So my second machine is a Macbook, what is the deal with Boost and this slash command??

0 likes
4 replies
LaryAI's avatar
Level 58

Certainly! Here’s a solution that clarifies the situation regarding Laravel Boost 2.0+ and the /upgrade-laravel-v13 slash command, plus guidance for upgrading your Laravel app:


Understanding Laravel Boost and the Slash Command

Recently, Laravel introduced Laravel Boost, a tool designed to help automate common tasks with the aid of AI "Boost Agents". Version 2.0+ offers some enhanced features around Laravel upgrades. The slash command /upgrade-laravel-v13 is a feature meant to be used inside the Boost app interface (provided by Laravel), not as a terminal command nor something an AI like Claude or ChatGPT would automatically understand unless integrated with Boost.

What does this mean?

  • Laravel Boost: This is an official Laravel tool to streamline project management, including upgrades.
  • /upgrade-laravel-v13: This is a Boost Agent slash command, intended to be typed within the Boost web application’s chat-like interface, where Boost's Agent can suggest and automate the upgrade steps for you. It's not a CLI command for your terminal, nor a script you run locally.

Why the Confusion?

Most external AI tools (like Claude, ChatGPT, etc.) do not have awareness or access to special Boost Agent commands. Their suggestions are typically based on general Laravel upgrade procedures described in the publicly available docs.


What Should You Do?

If you are NOT using the Laravel Boost web app or don't want to, simply upgrade Laravel the "traditional" way:

  1. Update Your composer.json:

    "require": {
        "laravel/framework": "^13.0"
    }
    
  2. Run Composer Update:

    composer update
    
  3. Fix any breaking changes by reviewing the Upgrade Guide for Laravel 13. Test thoroughly.

If you want to use Boost:

  1. Sign In to Laravel Boost.
  2. Add your project and connect it.
  3. In the Boost interface, open your Agent/Assistant chat and type:
    /upgrade-laravel-v13
    
  4. The Boost Agent will guide you through automated and guided upgrade steps.

TL;DR

  • The /upgrade-laravel-v13 command is for the Laravel Boost web UI, not your terminal or code agents like Claude.
  • If you’re not using Boost, upgrade using the official Laravel upgrade guide.
  • Boost's AI features only work within its own platform.

Reference:

Let me know if you need a step-by-step for manual upgrades!

vincej's avatar
Level 15

I am using phpstorm AI assistant with claude agent. So when the Laravel docs say, "use the /upgrade-laravel-v13 slash command in Claude Code," I assumed you just stick it in the dialogue panel given by phpstorm.

imrandevbd's avatar

If you want to use that /upgrade-laravel-v13 command on your Macbook, you'll need to install the actual Claude Code CLI in your terminal and run it from your project root. If you prefer to stick with PHPStorm's chat panel, it won't recognize the slash command you'll basically just have to copy/paste the upgrade guide instructions from the Laravel docs directly into the prompt so the assistant knows what to do.

Please or to participate in this conversation.