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-06-08 16:04:40 UTC


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

Background on HAL:


$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.