Laravel 10 Release

Laravel 10.0.0

I've been sitting on the tags page of the Laravel repository pressing Cmd + R all morning. At 10:35, Laravel v10.0.0 was tagged!

While the Laravel 10.x Shift has been out for two weeks, it's not until the official release that the baseline changes are established. I say baseline because Laravel 10 is now the latest stable version. It will continue to receive updates and new features. As such, so will the Laravel 10.x Shift.

That is one of the reasons I recommend subscribing to a Shifty Plan. Especially right now, because for this week only the Latest plan includes both the Laravel 9.x Shift and Laravel 10.x Shift. So if you're still running Laravel 8, it's a no-brainer. Of course, if you're running an older version of Laravel, the LTS plan is an incredible discount.

Alright, enough selling, let me highlight some things in Laravel 10.

A streamlined app folder. Well, sort of. At least the lang folder has been removed by default. This is now published only when you need to customize the language files. I like this one because I love a smaller footprint. Especially when it means removing files that change constantly (like validation.php), but aren't customized in many apps.

Type hints in user-land code. A Laravel 10 application now includes type hints for all of the core files included or generated by a Laravel application. I'll admit, I was slow to adopt types. But now I love it. While technically an optional change, I think this is an eye to the future. So I recommend adopting it. Of course, the Laravel 10.x Shift will automate adding type hints to any core method or where you have defined a type within the method DocBlock.

New Process facade. Taylor teased this months ago during Laracon Online, and I've been waiting every since. This was one of the few areas I felt Laravel was missing a wrapper for a common Symfony component. Now we have it. I know to keep my apps feeling Laravel-fresh, I'll be refactoring the system calls within the Shift codebase to use this new Process facade.

To see the Laravel 10.x Shift in action, check out its demo video. If you're on Twitter, please help spread the word with a retweet. And, as always, please reply with any feedback to help improve the automation.

Start Shifting!