framework
framework copied to clipboard
The Laravel Framework.
- Laravel Version: v9.38.0 - PHP Version: v8.1.12 - Database Driver & Version: Postgres ### Description: The pre-rendered maintenance mode using the `php artisan down --render="errors::503"` command does not show...
This PR introduces a helper to register routes for "singleton resources" - resources that are either "one of one" or "zero or one". Example: ```php Route::singleton('profile', ProfileController::class); ``` | Verb...
- Laravel Version: 9.39.0 - PHP Version: 8.1.11 - Database Driver & Version: Mysql 5.7 ### Description: This bug originates in `PendingDispatch` destructor [1], where jobs are actually dispatched to...
Last year I proposed PR #40115 to change database expressions to be grammar-enhanced. But my PR was changing too much, so I redid the whole concept to change as least...
Please check https://github.com/laravel/laravel/pull/6010 for details about this pull request.
Improves the generic typing of `EnumeratesValues` by providing them for the `flatMap()` method. Using `flatMap` right now causes all type information to be lost, and explicitly states there will only...
The `Illuminate\Http\Client\Response::collect` method makes it really easy to convert a json object to a collection object. It would be very convenient to have a similar functionality in the collection class...
- Laravel Version: 9.42.2 - PHP Version: 8.1.9 - Database Driver & Version: MySQL 8.0.28 - IDE: PHPStorm 2022.2.4 - OS: Windows 10 ### Description: Hello, after upgrading Laravel localy...
- Laravel Version: 9 (latest) - PHP Version: 8.2 (latest) - Database Driver & Version: Mysql 8 (latest) ### Description: When using `increment()`, it is not possible to have an...
When creating a new Request instance by `createFrom`, all attributes of the request get copied to a new `InputBag`-instance ([Request:444-450](https://github.com/laravel/framework/blob/103ae1e4c83682b22f7eb6b8778e1c4e2f854d75/src/Illuminate/Http/Request.php#L444-L450)) The only exception is the `$json`-attribute: there, the object of...