fortean/laravel-festivus

Festivus: A Guzzle-based REST client for Laravel with packaged service descriptions.

5.0.0 2015-04-04 02:18 UTC

This package is not auto-updated.

Last update: 2024-04-27 14:22:50 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.