What’s New in Laravel 6

0
Language

Level

Beginner

Access

Paid

Certificate

Paid

Laravel 6 is here! Along with a fresh website design comes a variety of new features and improvements, including lazy collections, Laravel Vapor compatibility, job middleware, and so much more. In this series, one topic per episode, we’ll get you up to speed in no time.

Add your review

Lazy Collections

The first stop on our Laravel 6 tour is lazy collections, contributed by Joseph Silber. This is easily one of my favorite additions to Laravel 6. While a traditional Collection wraps an array, a LazyCollection leverages generators to significantly reduce memory consumption issues, while still offering the same elegant chaining that you’ve become accustomed to.

Ignition is Laravel’s Amazing New Error Page

The new default error page in Laravel 6 is something special. Contributed by the teams behind Spatie and Beyond Code, Ignition is a gorgeous and extensible error screen.

Frontend Scaffolding Has Been Moved to Laravel UI

When installing a fresh Laravel 6 application, you’ll notice that the login and registration scaffolding, as well as the Vue/jQuery/Bootstrap boilerplate in your app.js file have been extracted to a new Composer package: laravel/ui. This helps to clean up the default install, while allowing the package to be versioned separately from the framework.

Eloquent Subquery Additions

Laravel 6 ships with improved support for Eloquent subqueries, thanks to a few PRs from Jonathan Reinink. You may now add subqueries by using the new addSelect() method, or by passing a closure to the orderBy() and from() methods of the query builder. I’ll show you how in this lesson.

Password Reconfirmation

Sometimes, even if a user is currently signed in, you’ll want them to re-confirm their password before proceeding with a given action. For example, updating a credit card, or processing a payment, or changing a subscription. In Laravel 6, this functionality is ready to go out of the box! In this episode, I’ll show you how it works, and what’s happening behind the scenes.

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 6”

×

    Your Email (required)

    Report this page
    What’s New in Laravel 6
    What’s New in Laravel 6
    LiveTalent.org
    Logo