Posted: 07-07-2017
Using Laravel Eloquent Macros
One of the new feature in Laravel 5.4 is the ability ability to define macros for Eloquent relationships.
In this article on scotch.io Olususi Kayode Oluyemi explains how to us macros in your laravel project