Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 813 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 813 Bytes

Flintstones RestServiceProvider

Adding some REST capabilities to Silex, so you can more easily build RESTful APIs. 110% Buzzword-Driven.

You get accept header support and request body decoding.

Registering

$app->register(new Flintstones\Rest\ServiceProvider(), array(
    'rest.fos.class_path'           => __DIR__.'/vendor',
    'rest.serializer.class_path'    => __DIR__.'/vendor',
));

Running the tests

$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install
$ phpunit

Credits

License

The RestServiceProvider is licensed under the MIT license.