Laravel, as we all know is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony.
Laravel made its first appearance on June 9, 2011, since then it became, one of the most popular PHP frameworks for developing web applications. The first version Laravel 1.0 was released in June 2011 and the 5.7 version of Laravel is now released and is available to everyone. This release includes many bug fixes and improvements. Some of the new features are : –
New Resources Directory
Cleaner look for Resources directory is introduced in the update. Earlier Resource directory looked like this :
Which is now changed to this :
New pagination customizations :
Laravel 5.7 now comes with the new pagination method to customize the number of links on each side of the paginator. With this method, there is no need for a custom pagination view in some cases. Here’s the API you can use to define the link count on each side of the current page:
User::paginate(10)->linksOnEachSide(5);
Improved Error Messages
Now tracking down error messages caused by dynamic calls to Eloquent models (and other parts of the framework) is much easier.
Ever mistyped a method on an Eloquent model and got a cryptic error saying that the method doesn’t exist *on the query builder* 😳
Well, in @laravelphp 5.7 you’ll now get a clear, concise message saying that the method doesn’t exist on the model 👌https://t.co/uKAxbIVdmv pic.twitter.com/aWgQ8zr2ak
— Joseph Silber (@joseph_silber) August 12, 2018
Other New Features of Laravel 5.7
Here you can find the full documentation here: https://laravel.com/docs/5.7/releases