Some handy eloquent macros used in our applications
gnahotelsolutions/laravel-eloquent-macros is a Laravel package for some handy eloquent macros used in our applications.
It currently has 2 GitHub stars and 74 downloads on Packagist (latest version 1.1.0).
Install it with composer require gnahotelsolutions/laravel-eloquent-macros.
Discover more Laravel packages by gnahotelsolutions
or browse all Laravel packages to compare alternatives.
Last updated

This package provides a few of our most used Laravel Eloquent macros that we have to write in almost every project. Feel free to use them in your own apps. More macros could be added in the future.
You can install the package via composer:
composer require gnahotelsolutions/laravel-eloquent-macros
// Usage description here
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.