Laravel Framework
Laravel AI SDK
Laravel 13 introduced a first-party AI SDK with a unified API for text generation, tool-using agents, embeddings, audio, images, and vector store integrations. You can build provider-independent AI features through a consistent, Laravel-native developer experience.JSON:API resources
Laravel now includes first-party JSON:API resources. They serialize resource objects and automatically handle included relationships, sparse fieldsets, links, and JSON:API-compliant response headers.Stronger request forgery protection
The CSRF protection middleware was formalized asPreventRequestForgery, adding origin-aware request validation while preserving compatibility with token-based CSRF protection.
Queue routing
Queue::route() centralizes default queue and connection routing rules for individual job classes.
Expanded PHP attributes
Laravel 13 expanded first-party PHP attributes across the framework. Controller and authorization attributes such as#[Middleware] and #[Authorize] let you declare configuration and behavior directly.
Cache::touch()
Cache::touch() extends an existing cache item’s TTL without retrieving and storing its value again.
Semantic and vector search
Native vector queries, embedding workflows, and related APIs make it easier to build AI-powered search with PostgreSQL and pgvector.Inertia v3
Vite plugin
The new@inertiajs/vite plugin removes entry-point boilerplate, automatically resolves pages from ./Pages, and handles code splitting, lazy loading, and SSR configuration.
SSR during development
npm run dev now starts SSR automatically, with no separate Node.js process required.
Axios removed
Axios and qs were removed from Inertia’s dependencies. A lightweight built-in XHR client now handles HTTP communication, reducing bundle size and dependencies.If your application depends on Axios interceptors, the Axios adapter preserves existing behavior during migration.
Optimistic updates
The.optimistic() method updates the interface immediately without waiting for the server response.
Instant visits
Inertia can immediately transition to the target page component while the server request continues in the background.Other packages
New Prompts features
datatable()browses, searches, and selects tabular datatitle()sets the terminal window titlestream()displays AI responses in real timetask()displays task execution with a spinnerautocomplete()provides input completionnotify()sends native macOS and Linux desktop notifications
Passport, Reverb, and Scout
- Passport:
#[TokenCan]declares required token scopes directly on controller methods. - Reverb: per-application rate limiting uses Laravel’s built-in rate limiter.
- Scout: query builders support operators such as
where('created_at', '>', $date).
Laravel Cloud and Laravel Forge
| Product | Key updates |
|---|---|
| Laravel Cloud | $5 free trial without a credit card, GitHub SSO, scheduled autoscaling, and a redesigned usage page |
| Laravel Forge | Managed PostgreSQL on VPSs with observability, read replicas, and automated backups |