laugharn / macros
There is no license information available for the latest version (dev-master) of this package.
Collection macros for Laravel
dev-master
2016-06-13 12:56 UTC
Requires
- php: >=7.0
- illuminate/support: >=5.2
This package is not auto-updated.
Last update: 2025-02-01 21:31:16 UTC
README
Extends Laravel with some helpful macros.
Installation
Require it with Composer:
composer require laugharn/macros
Macros comes with a handful of service providers you can add to the config/app.php
providers array:
For Builder macros:
Laugharn\Macros\BuilderServiceProvider::class
For Collection macros:
Laugharn\Macros\CollectionServiceProvider::class
For Request macros:
Laugharn\Macros\RequestServiceProvider::class
No need for additional configuration, you're good to go.