fortean/laravel-festivus

Festivus: A Guzzle-based REST client for Laravel with packaged service descriptions.
21 9
Install
composer require fortean/laravel-festivus
Latest Version:5.0.0
PHP:>=5.4
License:MIT
Last Updated:Apr 4, 2015
Links: GitHub  ·  Packagist
Maintainer: bmwalter68

Festivus for the REST of us... A Guzzle-based REST client for Laravel 5 with packaged service descriptions.

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.

Related Packages

divspace/responder

A Laravel 4 wrapper for Fractal to handle API responses

158 0
azen/apify-lumen

A pretty library to help developers build RESTful APIs lightly, quickly and prop...

13 0
alioygur/restful

Create simple restful responses

47 0
lucasbedout/detective

Provide beautiful and easy to use filtering functionalities for Eloquent library

646 13