-1698243867.png)
Laravel v10.29.0 Released
Laravel v10.29.0 was released and it comes with both new features as well as couple of fixes. Let's dive into some of the newly added features.
Allow route:list to expand middleware groups in VeryVerbose mode
NickSdot added with this PR a new command route:list -vv
that will expand the middleware groups and see the actuall middleware being used instead of group names like web
.
Add runningConsoleCommand(...$commands) method
Trevor Gehman added a method runningConsoleCommand(...$commands)
which returns true
if the application is running a given artisan console command.
1app()->runningConsoleCommand('db:seed'); // True if running db:seed2app()->runningConsoleCommand('db:seed', 'migrate:fresh'); // True if running db:seed OR migrate:fresh3app()->runningConsoleCommand(['db:seed', 'migrate:fresh']); // Also accepts arrays
And more...
For a complete list of PR's merged into this release see the releases page

Comments

Marian Pop
marian@laravelmagazine.comPHP / Laravel Developer. Writing and maintaining @LaravelMagazine. Host of "The Laravel Magazine Podcast". Pronouns: vi/vim.