Software-update: Laravel 13.0

Laravel logo Laravel is een opensource PHP-framework waarmee webapplicaties kunnen worden ontwikkeld. Achter Laravel staat een uitgebreide community en er is uitgebreide documentatie. Niet voor niets is het naast Symfony en Yii een van de populairste PHP-frameworks van dit moment. Versie 13.0 van Laravel is kort geleden uitgekomen en uitgebreide releasenotes daarvan kunnen op deze pagina worden gevonden. Hieronder zijn de belangrijkste verbeteringen te vinden.

PHP 8.3 Is Now Required

Laravel 13 drops support for PHP 8.2 and now requires PHP 8.3 or higher.

First-Class Support for PHP Attributes

The biggest developer-facing improvement is the introduction of native PHP Attributes across many parts of the framework. Instead of configuring behavior through class properties, you can now define things inline using attributes:

  • Models
  • Jobs
  • Console commands
  • And more (15+ locations)

This is fully optional and backward compatible.

Laravel AI SDK

Laravel 13 introduces the first-party Laravel AI SDK, providing a unified API for text generation, tool-calling agents, embeddings, audio, images, and vector-store integrations.

JSON:API Resources

Laravel now includes first-party JSON:API resources, making it straightforward to return responses compliant with the JSON:API specification. JSON:API resources handle resource object serialization, relationship inclusion, sparse fieldsets, links, and JSON:API-compliant response headers. Read more: here.

Queue Routing

Laravel 13 adds queue routing by class via Queue::route(...), allowing you to define default queue / connection routing rules for specific jobs in a central place.

Semantic / Vector Search

Laravel 13 has native vector query support, embedding workflows, and related APIs documented across search, queries, and the AI SDK. These features make it straightforward to build AI-powered search experiences using PostgreSQL + pgvector, including similarity search against embeddings generated directly from strings.

Cache::touch()

PR #55954 adds a Cache::touch() method that extends a cached item's TTL without fetching or re-storing the value. Previously, extending a TTL required a get followed by a put, which meant transferring the cached value over the wire unnecessarily. Cache::touch() skips that — Redis uses a single EXPIRE command, Memcached uses TOUCH, and the database driver issues a single UPDATE. The method returns true on success and false if the key doesn't exist. It's implemented across all cache drivers: Array, APC, Database, DynamoDB, File, Memcached, Memoized, Null, and Redis.

Laravel code

Versienummer 13.0
Releasestatus Final
Besturingssystemen Scripttaal
Website Laravel
Download https://laravel.com/docs/13.x
Licentietype Voorwaarden (GNU/BSD/etc.)

Door Bart van Klaveren

Downloads en Best Buy Guide

20-03-2026 • 10:00

0

Submitter: Bux666

Bron: Laravel

Update-historie

20-03 Laravel 13.0 0
03-'25 Laravel 12.0 13
03-'24 Laravel 11.0 1
02-'23 Laravel 10.0 17
02-'22 Laravel 9.0 12
03-'20 Laravel 7.0 13
09-'19 Laravel 6.0 3
02-'19 Laravel 5.8 3
08-'17 Laravel 5.5 29
01-'17 Laravel 5.4 24
Meer historie

Reacties

Sorteer op:

Weergave:

Er zijn nog geen reacties geplaatst


Om te kunnen reageren moet je ingelogd zijn