easybib/silex-hal-provider

Silex provider for the nocarrier/hal library

1.0.0 2014-12-23 14:20 UTC

This package is not auto-updated.

Last update: 2024-10-26 18:27:54 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.