Laravel 13 was released on March 17, 2026. As with every annual major release, it brings meaningful improvements — but this cycle is notable for its focus on AI-native workflows, safer defaults, and more expressive developer APIs.Breaking changes are minimal, so most applications can upgrade with little effort. At the same time, new features like the Laravel AI SDK and semantic search have the potential to change how modern applications are built.
Laravel 13 support policy: bug fixes through Q3 2027, security fixes until March 17, 2028.
The headline feature in Laravel 13 is a first-party AI SDK. It provides a unified API for text generation, tool-calling agents, embeddings, audio, image generation, and vector store integration.You can build AI-powered features without coupling your code to a specific provider, while keeping the Laravel developer experience you’re used to.Text generation (agent)
use App\Ai\Agents\SalesCoach;$response = SalesCoach::make()->prompt('Analyze this sales transcript...');return (string) $response;
Image generation
use Laravel\Ai\Image;$image = Image::of('A donut on a kitchen counter')->generate();$rawContent = (string) $image;
Text-to-speech
use Laravel\Ai\Audio;$audio = Audio::of('I love coding with Laravel.')->generate();$rawContent = (string) $audio;
Embeddings
use Illuminate\Support\Str;$embeddings = Str::of('Napa Valley wines are the best.')->toEmbeddings();
Queue::route(...) lets you define default queue and connection routing rules for specific jobs in one central place, without hardcoding queue names in the job class itself.
use App\Jobs\ProcessPodcast;use Illuminate\Support\Facades\Queue;Queue::route(ProcessPodcast::class, connection: 'redis', queue: 'podcasts');
This separates infrastructure configuration from your application code.
The CSRF middleware has been renamed from VerifyCsrfToken to PreventRequestForgery, and it now validates the request origin using the Sec-Fetch-Site header.
use Illuminate\Foundation\Http\Middleware\PreventRequestForgery;// Excluding the middleware in tests->withoutMiddleware([PreventRequestForgery::class]);
VerifyCsrfToken remains as a deprecated alias, but you should migrate all references to the new class name.
A serializable_classes option has been added to config/cache.php and defaults to false. This prevents PHP deserialization gadget-chain attacks in the event that APP_KEY is compromised.
The revamped starter kits introduced in Laravel 12 (React, Vue, Svelte, Livewire) continue to be the default in Laravel 13.Inertia v3 also shipped alongside Laravel 13. Key changes include:
Simpler layout props
Vite 8 support
A new withApp callback
New Blade components
If your project uses Inertia, consider upgrading it as well.
Laravel Boost is a first-party MCP server that integrates with AI editors like Claude Code, Cursor, OpenCode, Gemini, and VS Code. Run the /upgrade-laravel-v13 slash command to semi-automate your upgrade.
Laravel 13 is a “few breaking changes, many new features” release. The upgrade path is straightforward for most applications, while the AI SDK and semantic search features open up entirely new possibilities for modern app development.Ready to upgrade from Laravel 12? See the step-by-step guide below.
Upgrade guide: Laravel 12 → 13
A full list of breaking changes and a step-by-step upgrade walkthrough.