Laravel 5.3 is coming with awesome features

Laravel 5.3 is coming with awesome features

Laravel 5.3 is coming with awesome features. We have seen how Laravel has been transcended, in the past years. It’s one of the most popular and widely used framework in the world. And the count is still growing. From laravel 5.0 and above this framework has been great in implementing ideas. Now, it’s time for Laravel 5.3. Laravel 5.3 is already in progress, and will be released soon. However the features list are already out and let’s see what’s new.

The main features are the following :

  • Rollback one migration
  • Blade Foreach Loops
  • Eloquent Collections are cleanly serialized and re-pulled by queued jobs
  • Queue console output changed to show the actual class names
  • Ability to customize simple pagination
  • First Or Create
  • Query Builder will now return a Collection
  • Multiple Migration Paths
  • Laravel Echo
  • New Cache Helper

Ok. Let’s look into them little more deep.

Rollback one migration

Now, you can roll back one migration step by just simple using the command :

Blade Foreach Loops

Added an incredible $loop variable specifically added to increase the productivity.

Eloquent Collections are cleanly serialized and re-pulled by queued jobs:

In this one, When a Laravel Job is dispatched that takes an Eloquent Model as an argument in the constructor. Here, you can use the SerializesModels trait, which will only serialize the “model identifier”. So, When the job is actually handled, the queue system will automatically re-retrieve the full model instance, from the database.
click here for more info.

Queue console output changed to show the actual class names:

Cleaning Laravel queue console output so it shows actual class names instead of “CallQueuedHandler” for every job.

Ability to customize simple pagination

Custom pagination option.

First Or Create

Can pass variable to the function and added them to creation. Like this:

Query Builder will now return a Collection

Query builder can return a collection. Changed from array to collection.Like this:

Multiple Migration Paths

Load migrations directly from service provide like this:

Laravel Echo

Improve the current event broadcasting system. See the Video tutorial here.

New Cache Helper

This cache() global helper can manage and perform three functions together. Get, Put or Return and instance.

Cool, Right ..?

Hope you like the article “Laravel 5.3 is coming with awesome features”. Thanks for reading.

Leave a Comment

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