Laravel 9.18.0 comes with a new feature that you will love to upgrade and use, the new features come with 4 main features shipped.
- Rule objects
- Query time
- Attachable objects
- Nested eager load syntax
Rule objects
rules that make it simpler to define custom validation rules using simple, single method invokable objects. Very similar API to Closure rules.
Query time
introduced a new method that invokes a closure if cumulative time you spend querying the database during a request exceeds a threshold
Attachable objects
new way to define attachments within your application: attachabobjectscts.
Nested eager load syntax
four-peat with allowing you to provide a nested array to specify nested eager loads.
Continue Reading
Be first to comment