Laravel 13 Arrives With Native AI Support, PHP Attributes, and Queue Routing
Laravel 13 has been released, introducing several developer-focused improvements aimed at reducing boilerplate and improving maintainability. The update brings native PHP attribute syntax for configuring Eloquent models and queued jobs, and adds a new Cache::touch() method to extend cache TTLs without re-fetching data. A stable Laravel AI SDK is now bundled with the framework, enabling vector similarity queries and direct integration with providers like OpenAI, Anthropic, and Ollama. Centralized queue routing allows developers to define job infrastructure topology in a single location rather than scattering configuration across individual job classes. Smaller additions include a horizontally scalable Reverb database driver, a revised HTTP pool concurrency default, and the return of multi-tenancy team support in official starter kits.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in