The Laravel team released Laravel 5.7.26 on 12 Feb 2019 with a new pipeline method and a method to temporarily bypass model events. First, a new Pipeline method thenReturn was added by Tim MacDonald to allow additional work do be done on the object passed through: // Priviously $users = app ( Pipeline : : class ) ->send ( User : : query ( ) ) ->through ( $pipes ) ->then ( function ( $query ) { return 
The Laravel team and contributors released Laravel v5.7.23 on 29th Jan 2019, along with a fix release for the ResetPassword notification in v5.7.24. The bulk of the new changes are in v5.7.23: First, the AbstractPaginator::getOptions() was added to retrieve the original paginator options which are now stored in an $options property. Next, an orWhere proxy method was added for scopes in the EloquentBuilder, with a new class introduced to&nb
What's new in 5.7? What improvements were made? Learn how to build better PHP applications with this new release. In this article, I'll cover the new features in Laravel 5.7 and several other changes and deprecations. 5.7.18 Released Laravel 5.7.18 is available in December 2018 with the latest updates to the Laravel framework v5.7. First, the framework now replaces all placeholders for the starts_with validation rule introduced in Laravel 5.7.15. A new Facade:
Laravel 5.7.17 is accessible with new query builder methods, a new message for detecting lost connections in MariaDB, and improvements to adding foreign keys in Postgres. First, we have a new method in the query builder for the INSERT INTO SELECT statement, without loading data into memory. The insertUsing() method allows you to copy all (or some) columns from one database table to another using the following syntax: $builder-> from ( ' table1
Laravel 5.7.16 is available with new translation messages for the 403 and 503 blade templates and enabling the migrator to accept not only migration directory paths but also file paths too. First up, the 403.blade.php file now has a translatable exception message and fallback: @section ( ' message ' , __ ( $exception -> getMessage( ) ? : __( 'Sorry, you are forbidden
The Laravel team released Laravel 5.7.10 on 23 October 2018 with a handful of new features, fixes, and changes: loadCount Eloquent Collection Method First up, is the ability to load relationship counts on an Eloquent collection. Before this feature, you could only load relationships, but now you can call loadCount() to get counts for all relations. The pull request illustrates how you could use loadCount() with the following example: &n
Laravel is a new free open-source PHP web framework that made its arrival about 7 years ago in June 2011. Since then it has become one of the most popular PHP frameworks for developing web applications. As such, it is based on the MVC (Model View Controller) architectural pattern and Symfony. The first version Laravel 1.0 was released in June 2011 and the 5.6 version came in February this year. And now, the latest variant 5.7 is also on the roll in August 2018. The framework is said to get the b