flintstones / rest
Adding some REST capabilities to Silex, so you can more easily build RESTful APIs. 110% Buzzword-Driven.
Installs: 72
Dependents: 0
Suggesters: 0
Security: 0
Stars: 66
Watchers: 4
Forks: 10
pkg:composer/flintstones/rest
Requires
- friendsofsymfony/rest-bundle: *
- silex/silex: 1.0.*
- symfony/serializer: 2.1.x
This package is not auto-updated.
Last update: 2025-10-11 16:29:42 UTC
README
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.