What's New in Laravel 10
It's a new year, and that means we also get a new major release of Laravel! As of February 14th, 2023, Laravel has now officially bumped to version 10.
In this series, we'll review and compare all the new features and improvements you can enjoy as part of Laravel 10. This includes support for native PHP types for all user-land code, Laravel Pennant, a new Process abstraction layer, and more!
Progress
Series Info
- Episodes
- 5
- Run Time
- 37m
- Difficulty
- Intermediate
- Last Updated
- Feb 16, 2023
- Version
- Latest
Series Episodes
- Episodes (5)
Native Type Declaration
Let's begin with a massive undertaking by Nuno Maduro. Laravel 10 now ships with native PHP types across all user-land and generated code. Not only that, but redundant docblocks have been removed.Generate Secure Passwords
Next up, you'll find a newpassword()method on theStrclass. This method - which can be adjusted to your preferred criteria - will generate a secure password for you.Quicker Project Scaffolding
If you haven't updated your Laravel installer in a while, you'll notice that thelaravel newcommand now accepts a number of options that will expedite your initial project scaffolding. Let's have a look at the--pestand--breezeflags.The New Process Facade
Laravel 10 ships with a newProcessfacade. This facade, built on top of Symfony's excellentProcesscomponent, allows you to easily invoke and execute shell commands, and even run them asynchronously in the background. Let's quickly review how to use it.Laravel Pennant
Included as part of the Laravel 10 release is Laravel Pennant: a first-party package that assists with managing feature flags for your application. Let's have a look!
