The Newsroom Mar 17th, 2026

Laravel 13 is Here. We Support It.

Laravel 13 is Here. We Support It.

Jack McDade 4 min read

Laravel ships a new major version every year like clockwork, and today is that day. Laravel 13 is out and Statamic is ready with support from day one (with Statamic v6.5.0).

Let's dig into what's new in L13 and why a few of these new features might be worth your attention.

What's new in Laravel 13

A first-party AI SDK

This is the big one. Laravel 13 ships a first-party AI SDK with a unified API for text generation, tool-calling agents, embeddings, images, audio, and vector store integrations. It's provider-agnostic — OpenAI, Anthropic, whatever you need — and it feels like Laravel. Which is to say: clean, expressive, and really quite sensible.

$response = WritingCoach::make()->prompt('Analyze this draft article...');

For a lot of things, it's pretty much simple. You can generate images, synthesize audio, and produce embeddings with the same SDK, same conventions, same experience.

For Statamic users, this means the infrastructure for AI-powered features in your projects just landed in core Laravel — no third-party packages, no stitching together multiple SDKs, no wondering which abstraction is the right one. If you want to build something that generates content, suggests tags, or powers a semantic search experience on top of your Statamic content, you now have a real first-party foundation to build on, right in your project. Today.

Semantic and vector search

Speaking of which — Laravel 13 also ships native vector query support and semantic search capabilities, including direct pgvector integration via the query builder:

$documents = DB::table('documents')
->whereVectorSimilarTo('embedding', 'Best wineries in Napa Valley')
->limit(10)
->get();

This is most notable for Statamic projects with a database driver. Your entries, assets, taxonomies can be searchable by meaning, not just by keyword. Documentation sites, knowledge bases, content-heavy marketing sites: this opens up a genuinely different kind of search experience.

PHP attributes are now basically everywhere

Laravel 13 continues its push to make configuration declarative with attributes. Love them or hate them, they're here, giving you a way to replace all those class properties with more terse comments. If you like that sort of thing.

// EXAMPLE MODEL
 
#[Table('users', key: 'user_id', keyType: 'string', incrementing: false)]
#[Hidden(['password'])]
#[Fillable(['name', 'email'])]
class User extends Model {}

These aren't just syntactic sugar — they keep your intent colocated with your code, which make controllers and addons meaningfully cleaner. If you've been writing addons for a while, you'll appreciate this. They are kinda messy looking though. Personal opinion. 😏

JSON:API resources

First-party JSON:API resources are now built into Laravel. If you're running Statamic in headless mode and your consumers expect JSON:API compliant responses, this is a clean native path to get there — proper serialization, relationship inclusion, sparse fieldsets, compliant headers.

Cache::touch()

Extend a cache entry's TTL without fetching and re-storing the value. Useful for keeping frequently-checked but rarely-changed things (like Stache indexes) fresh without unnecessary overhead.

What about Statamic?

If you're starting a new project, you can install Statamic on Laravel 13 today. If you're upgrading an existing project — refer to the Laravel 13 upgrade guide first (it's a relatively lightweight upgrade), then update Statamic.

Note that Laravel 13 requires PHP 8.3 minimum, so double-check your hosting environment before upgrading.

One more thing

The Laravel AI SDK landing in core changes what's possible in a Statamic project — not because Statamic ships AI features out of the box, but because the building blocks are now native. The same framework that powers your content modeling, your templates, your queues, your auth, now also powers AI generation and semantic search.

Flat-file YAML and Markdown are as machine-readable as content gets. Your Statamic content was already structured. Now the tools to do interesting things with it just got a lot more official.

More on that soon. 👀

You can dig even deeper into Laravel 13 in this great Laravel News article.