easybib/silex-hal-provider

Silex provider for the nocarrier/hal library

1.0.0 2014-12-23 14:20 UTC

README

Adds a HAL builder object to the silex container which returns instances of HAL objects from the nocarrier/hal library.

Background on HAL:

Usage

$app->register(new EasyBib\Silex\Provider\HALServiceProvider());

$hal = $app['hal']->build('/orders', ['customerId' => 'CUS1234']);

See the (Nocarrier\Hal documentation)[https://github.com/blongden/hal/blob/develop/README.md] for more examples of how to use the HAL library itself.