Laravel 6 Is Released Now

The Laravel team announces the release of Laravel 6 and it’s now available to everyone. 

Here are some of the new features included in Laravel 6:


Laravel 6.0 Is the New LTS :

The release of Laravel 6.0 marks the new LTS version of Laravel, with bugfixes until September 3rd, 2021 and security fixes until September 3rd, 2022.

Semantic Versioning :

The Laravel framework (laravel/framework) package now follows the semantic versioning standard. This makes the framework consistent with the other first-party Laravel packages which already followed this versioning standard. The Laravel release cycle will remain unchanged.

Improved Authorization Responses :

Previously it was difficult to provide custom error messages around authorization to end users. Laravel 6 introduces a Gate::inspect method which provides the authorization policy’s response

Code Demo

Job Middleware:

Job Middleware is a feature contributed by Taylor Otwell, which allows jobs to run through middleware

Code Demo

Lazy Collections:

 new Illuminate\Support\LazyCollection class leverages PHP’s generators to keep memory low while working with large datasets. Check out Lazy Collections documentation for more details on this impressive new feature!

Eloquent Subquery Enhancements:

Learn more about Jonathan Reinink’s contributions to subqueries in his post on Laravel News – Eloquent Subquery Enhancements in Laravel 6.0. Also, check out Jonathan’s excellent talk on using subqueries (among other techniques) in his Laracon talk Eloquent Performance Patterns.

Laravel UI:

The frontend scaffolding provided with Laravel 5.x releases is now extracted into a separate laravel/ui Composer package. This allows first-party UI scaffolding to be iterated on separately from the primary framework.

Resources related to Laravel 6 that you should check out:

Reference article

Mobio Solutions

Leave a Reply

Your email address will not be published. Required fields are marked *