framework
framework copied to clipboard
The Laravel Framework.
This PR aims to create an easy way to mark singleton routes as 'destroyable'. A destroyable singleton may be deleted, but it may not be created (by default). This is...
Helps IDE's and static analyzers better understand the Timebox
When running PHPStan static analysis on my codebase, I noticed an error `Parameter #1 $container of method Illuminate\Database\Seeder::setContainer() expects Illuminate\Container\Container, Illuminate\Contracts\Foundation\Application given.` appearing in a console command I based on...
- Laravel Version: 9..46.0 - PHP Version: 8.1 ### Description: When the cache driver is Redis the app isn't started (CACHE_DRIVER=redis) I'm getting "Predis\Command\ServerFlushDatabase" not found when I searched this...
# Background When using `php artisan make:*` commands, almost all provide the full relative path to the file in the console output e.g. `Model [app/MyModel.php] created successfully.` This is great...
- Laravel Version: 9.45.1 - PHP Version: 8.1.13 - Database Driver & Version: ### Description: Method explodeExplicitRule works wrong with this rule `regex:/^[\d\-]*$/|max:20`. It can not explodes this rule to...
This PR continues and expands upon @nunomaduro's work on providing a convenient process layer in Laravel. Some features have been rebuilt and others have been added. Notably, the ability to...
This pull request adds PHPUnit 10 support to `laravel/framework` - while keeping support for PHPUnit 9. Note that this pull request, should test and released once PHPUnit 10 is out....
This is a draft as we will need to: 1. Merge #45454 2. Merge 9.x into 10.x 3. Update the failing test to use `ValueException` instead of `TypeException` Fixes https://github.com/laravel/framework/issues/45454...