fortean / laravel-festivus
Festivus: A Guzzle-based REST client for Laravel with packaged service descriptions.
Requires
- php: >=5.4
- guzzlehttp/guzzle-services: 0.5.*
- illuminate/support: 5.0.*
This package is not auto-updated.
Last update: 2024-12-21 18:19:45 UTC
README
Festivus provides a Laravel 5 Facade wrapping Guzzle with helpers that make it drop-dead simple to use. Eloquent models can be hydrated from service calls and APIs are defined by service descriptions. What more could you ask for? An aluminum pole?
Contents
Installation
Add laravel-festivus to your composer.json file:
"require": {
"laravel-festivus": "5.0.*"
}
Use composer to install this package.
$ composer update
Registering the Package
Register the service provider within the providers
array found in app/config/app.php
:
'providers' => array( // ... 'Fortean\Festivus\FestivusServiceProvider' )
Add an alias within the aliases
array found in app/config/app.php
:
'aliases' => array( // ... 'Festivus' => 'Fortean\Festivus\Facade\Festivus', )
Thanks
Thanks to the Guzzle crew for making such an awesome client! Without you guys, I'd still be hand-coding silly REST calls!
License
This library is licensed under the MIT license.