framework
framework copied to clipboard
The Laravel Framework.
Hello! ### Motivation I just had a bug in production where a developer (me :upside_down_face:) was validating a datetime with: ```php 'request_at' => [Rule::date()->beforeOrEqual(now())], ``` However, this caused failures when...
The parent method was removed in Symfony 8 via https://github.com/symfony/symfony/pull/61983
This PR allows you to output your API Resources using `JSON:API` specification instead of normal JSON via `JsonResource`. You need to update your existing resource class to extends `JsonApiResource` instead...
### Laravel Version 12.32.5 ### PHP Version 8.3.27 ### Database Driver & Version MySQL Server version: 8.0.44-0ubuntu0.24.04.1 (Ubuntu) ### Description When attempting to create a session and receiving an SQL...
This is a PoC for the issues discussed in https://github.com/laravel/framework/discussions/31778 One major performance hog that I noticed in my laravel jobs is the fact that all model attributes that have...
### Laravel Version 12.40.2 ### PHP Version 8.4.15 ### Database Driver & Version MySql 9.1.0 on Debian 13 ### Description In a previous Laravel version (10.48.29) i created a custom...
### Laravel Version 12.39.0 ### PHP Version 8.4.15 ### Database Driver & Version none ### Description When a component includes other components such that there are two variables with the...
allow users to mark classes or dependencies which should be built lazily Building off of @timacdonald's work in https://github.com/laravel/framework/pull/57831/ ## Why would anyone need this If you've worked in a...
This is a resubmission of https://github.com/laravel/framework/pull/57186 targeting 13.x. As Taylor said he wouldn't change this behaviour on a patch release. This helps us prevent the workers crashing when maintenance occurs...