October 25th, 2023

Laravel v10.29.0 Released

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:seed
2app()->runningConsoleCommand('db:seed', 'migrate:fresh'); // True if running db:seed OR migrate:fresh
3app()->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

Statamic Ninja

Comments

Marian Pop

PHP / Laravel Developer. Writing and maintaining @LaravelMagazine. Host of "The Laravel Magazine Podcast". Pronouns: vi/vim.

Subscribe to our newsletter

Get latest news, tutorials, community articles and podcast episodes delivered to your inbox.

Weekly articles
We send a new issue of the newsletter every week on Friday.
No spam
We'll never share your email address and you can opt out at any time.