m4tthumphrey/fractal-laravel

Laravel bindings for the Fractal library.
2,562 4
Install
composer require m4tthumphrey/fractal-laravel
Latest Version:1.1
License:MIT
Last Updated:Jun 6, 2014
Links: GitHub  ·  Packagist
Maintainer: m4tthumphrey

m4tthumphrey/fractal-laravel

Laravel bindings for the Fractal library.

Install via Composer

Add the following to your composer.json file

{
    "require": {
        "m4tthumphrey/fractal-laravel" : "1.*"
    }
}

Then update composer

composer update

Service provider

Add the following line to the array of providers in app/config/app.php

'm4tthumphrey\FractalLaravel\ServiceProvider',

Facade

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',

Related Packages

eventhomes/laravel-fractalhelper

Compatible with Laravel 5+ and Lumen 5+.

88,761 7
lykegenes/laravel-api-response

A Laravel wrapper for thephpleague's Fractal package

186 3
divspace/responder

A Laravel 4 wrapper for Fractal to handle API responses

158 0
eilander/repository

Flexible Laravel 5 repository package.

149 0
tttptd/laravel-responder-doctrine

A Laravel package for APIs, wrapping the Fractal library behind an elegant Larav...

0 1