Package Data | |
---|---|
Maintainer Username: | laugharn |
Maintainer Contact: | laugharn@gmail.com (Dan Laugharn) |
Package Create Date: | 2016-06-08 |
Package Last Update: | 2016-06-13 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2025-02-15 03:02:40 |
Package Statistics | |
---|---|
Total Downloads: | 10 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Extends Laravel with some helpful macros.
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.