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

This package is not auto-updated.

Last update: 2024-04-13 17:07:52 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.