Laravel 13 has arrived. It is the framework's most ambitious release to date. It shifts from being just a web framework to a complete platform for the AI-driven era.
The web changed in 2026. Developers now build for both humans and AI agents. Laravel 13 addresses this shift directly. It introduces a first-party AI SDK, native vector search, and a massive move toward declarative configuration via PHP attributes.
Whether you are a seasoned artisan or a newcomer, this guide covers everything you need to ship fast in 2026.
The Clean Stack: PHP 8.3 and the Attribute Revolution
Laravel 13 raises the bar. It requires a minimum of PHP 8.3. This ensures every project benefits from the latest performance improvements and type safety features.
The most visible change is the transition to PHP attributes. For years, we defined model behavior with class properties like $fillable or $hidden. Laravel 13 moves this configuration closer to the data.
Declarative Models
You now use attributes to define your Eloquent models. It looks like this:
#[Table('users')]
#[Fillable(['name', 'email', 'password'])]
#[Hidden(['password', 'remember_token'])]
class User extends Authenticatable
{
// Class body remains clean
}
This change extends across the entire framework. You can use attributes for queues, console commands, form requests, and API resources.
-
Queues: Use
#[OnQueue('high')]directly on your job class. -
Commands: Define signatures with
#[Signature('app:process')]. -
API Resources: Tag collections with
#[Collects(User::class)].
This approach reduces boilerplate. It makes your code easier to read. Static analysis tools now understand your configuration better than ever.
AI-Native by Design: The Laravel AI SDK
In 2026, AI is not a feature. It is a core requirement. Laravel 13 introduces the official Laravel AI SDK. It provides a unified, expressive API for interacting with large language models.
You no longer need to hunt for third-party wrappers. The framework handles text generation, tool-calling, and embeddings out of the box.

Tools and Agents
The AI SDK supports tool-calling natively. You can give an AI agent the ability to execute PHP code or fetch data from your database.
$response = AI::chat()
->withTools([new WeatherTool])
->send('What is the weather in Casablanca?');
Laravel manages the conversation state. It handles the back-and-forth between the model and your tools. This allows you to build autonomous agents that can perform complex tasks within your application.
Semantic Search with Vector Queries
Standard search looks for exact matches. Semantic search looks for meaning. Laravel 13 adds native vector query support to the query builder.
If you use PostgreSQL or MariaDB, you can now create vector indexes using the schema builder. You can then perform similarity searches directly through Eloquent.
$similarProducts = Product::query()
->whereVector('embedding', 'similar to', $queryEmbedding)
->limit(5)
->get();
This integration makes building recommendation engines and document search tools trivial. It brings the power of AI-powered retrieval directly into your standard development workflow.
Standardizing the Web: First-Party JSON:API
Building APIs is easier in 2026. Laravel 13 ships with first-party support for the JSON:API specification.
For a long time, developers had to choose between custom formats or complex external packages. Now, you get a spec-compliant API layer built in. It handles resource relationships, sparse fieldsets, and filtering automatically.
It pairs perfectly with the new #[Metadata] API for routes. You can attach arbitrary data to your routes for SEO, permissions, or feature flags.
Route::get('/profile', [ProfileController::class, 'show'])
->metadata(['title' => 'Your Account', 'auth_required' => true]);
Security: The Death of the Password
Security is non-negotiable. Laravel 13 makes the web safer with native Passkey support.
Passkeys use biometrics or hardware keys for authentication. They are resistant to phishing and easier for users. You can now implement passwordless auth without complex WebAuthn libraries.

Laravel also upgraded its CSRF protection. The new PreventRequestForgery middleware is origin-aware. It uses the Sec-Fetch-Site header to verify requests. This provides a modern layer of defense while keeping existing token-based workflows compatible.
Real-Time at Scale: Reverb and Cache
Real-time features shouldn't be hard to scale. Laravel Reverb, the first-party WebSocket server, now includes a database driver.
Previously, you needed Redis to scale Reverb horizontally across multiple servers. Now, you can use your existing MySQL or PostgreSQL database. This lowers the barrier to entry for real-time notifications and collaborative interfaces.
The Cache system also received a significant update with Cache::touch(). You can now extend the life of a cached item without pulling it into memory. This is a small change that offers massive performance wins for high-traffic applications.
The Ecosystem: Cloud and Monitoring
The Laravel ecosystem is a full-service stack. It covers development, deployment, and monitoring.
Laravel Cloud
Laravel Cloud is the managed infrastructure of choice in 2026. It removes the need for manual server configuration. It is built specifically for Laravel, providing automatic scaling for web traffic, queues, and your AI agents.
It integrates deeply with Laravel Forge for those who still want full control over their virtual private servers.
Nightwatch and Monitoring
Monitoring in 2026 is about more than just uptime. Nightwatch provides deep insights into your application's logs and performance metrics. It captures everything from slow database queries to AI API latency.
Combined with Laravel Horizon, you get a bird's-eye view of your entire asynchronous infrastructure.
The TALL Stack: Still the Gold Standard
The TALL stack (Tailwind, Alpine, Laravel, Livewire) remains the most productive way to build interactive web apps.

In 2026, the synergy between Livewire and the Laravel AI SDK is powerful. You can build reactive interfaces that stream AI responses in real-time.
- Tailwind CSS handles the utility-first design.
- Alpine.js manages client-side interactions.
- Livewire connects the server-driven UI to your AI tools.
This stack prevents you from reinventing the wheel. It allows small teams to ship features that used to require massive engineering departments.
Your Move
Laravel 13 is a milestone. It solidifies PHP’s place as the best language for rapid application development in the age of AI.
The framework has moved from "just a wrapper for HTTP" to a comprehensive toolkit for modern artisans. It handles your authentication, your search, your infrastructure, and your intelligence.
Explore the official documentation to dig deeper. Check out the latest starter kits to see the new attribute-based models in action.
The community is growing. The tools are ready. It's time to build something great.
We'd love to hear what you're building with Laravel 13. Connect with the community and share your story.