m4tthumphrey/fractal-laravel is a Laravel package for laravel bindings for the fractal library..
It currently has 4 GitHub stars and 2.562 downloads on Packagist (latest version 1.1).
Install it with composer require m4tthumphrey/fractal-laravel.
Discover more Laravel packages by m4tthumphrey
or browse all Laravel packages to compare alternatives.
Last updated
Laravel bindings for the Fractal library.
Add the following to your composer.json file
{
"require": {
"m4tthumphrey/fractal-laravel" : "1.*"
}
}
Then update composer
composer update
Add the following line to the array of providers in app/config/app.php
'm4tthumphrey\FractalLaravel\ServiceProvider',
If you wish to utilise the facade, add the following line to your aliases array, also in app/config/app.php
'Fractal' => 'm4tthumphrey\FractalLaravel\Facade',