Laravel Framework
Laravel AI SDK
Laravel 13 introduces a first-party AI SDK that provides a unified API for text generation, tool-calling agents, embeddings, audio, images, and vector store integration. Build provider-agnostic AI features with a consistent, Laravel-native developer experience.JSON:API resources
Laravel now includes first-party JSON:API resources. It’s now easy to return responses that conform to the JSON:API specification: resource object serialization, relationship includes, sparse fieldsets, links, and JSON:API-compliant response headers are handled automatically.Strengthened request forgery protection
As a security enhancement, the CSRF protection middleware has been formalized asPreventRequestForgery. It maintains compatibility with token-based CSRF protection while adding origin-aware request validation.
Queue routing
Class-level queue routing is now possible withQueue::route(). You can centrally manage default queue and connection routing rules for specific jobs.
Expanded PHP attributes
Laravel 13 expands first-party PHP attribute support across the framework. Controller- and auth-related attributes (#[Middleware], #[Authorize], etc.) have been added, allowing you to declare configuration and behavior more declaratively.
Cache::touch()
Cache::touch() has been added, letting you extend the TTL of an existing cache item without fetching and re-storing the value.
Semantic and vector search
Native vector query support, embedding workflows, and related APIs have been added. Easily build AI-powered search using PostgreSQL + pgvector.Inertia v3
Vite plugin
The new@inertiajs/vite plugin removes the boilerplate you used to write in the entry point. Pages are automatically resolved from the ./Pages directory, and code splitting and lazy loading are handled automatically. SSR configuration is also zero-config.
SSR during development
SSR now runs automatically withnpm run dev. You no longer need a separate Node.js process during development, and pages are server-side rendered by default.
Removal of Axios
Axios and qs have been completely removed from Inertia’s dependencies. A lightweight built-in XHR client handles all HTTP communication, reducing bundle size and dependency footprint.If you rely on things like Axios interceptors, an Axios adapter keeps them working during the migration.
Optimistic updates
An.optimistic() method has been added that updates the UI immediately without waiting for the server response.
Instant visits
You can now transition to the target page component immediately while the server request continues in the background.Other packages
Prompts new features
datatable(): A new prompt supporting browsing, searching, and selecting tabular datatitle(): Set the terminal window titlestream(): Real-time streaming display of AI responsestask(): Task execution display with a spinnerautocomplete(): An input completion promptnotify(): Native desktop notifications on macOS/Linux
Passport
#[TokenCan]attribute: Declare required token scopes directly on controller methods
Reverb
- Rate limiting: Supports per-app rate limiting using Laravel’s built-in rate limiter
Scout
- Operator support in
where(): You can now usewhere('created_at', '>', $date)syntax in the query builder