Skip to content

Repository files navigation

Flintstones RestExtension

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\Extension(), array(
'rest.fos.class_path' => __DIR__.'/vendor',
'rest.serializer.class_path' => __DIR__.'/vendor',
));

Running the tests

$ ./vendors.sh
$ phpunit

Todo

  • Lift the RequestListener's dependency on Router
  • Make serializers lazy
  • Make RequestListener lazy (and thus configurable)

Credits

License

The RestExtension is licensed under the MIT license.

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages