What’s New in Laravel 10

0
Language

Level

Beginner

Access

Paid

Certificate

Paid

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!

Add your review

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 new password() method on the Str class. 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 the laravel new command now accepts a number of options that will expedite your initial project scaffolding. Let’s have a look at the –pest and –breeze flags.

The New Process Facade

Laravel 10 ships with a new Process facade. This facade, built on top of Symfony’s excellent Process component, 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!

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “What’s New in Laravel 10”

×

    Your Email (required)

    Report this page
    What’s New in Laravel 10
    What’s New in Laravel 10
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.