This Bundle provides various tools to rapidly develop RESTful API's with Symfony
PHP
Latest commit 6731a06 Dec 2, 2016 @GuilhemN GuilhemN Merge branch '2.1'
Permalink
Failed to load latest commit information.
Context #1536 Added support for JMS exclusion strategies (#1583) Oct 9, 2016
Controller Merge branch '2.0' into 2.1 Nov 23, 2016
Decoder Merge branch '1.8' into 2.0 Jun 17, 2016
DependencyInjection Merge branch '2.0' Nov 11, 2016
EventListener Support path versioning for rendering responses (#1605) Nov 25, 2016
Exception Handle invalid param exception when invalid value is not scalar (#1562) Sep 6, 2016
Form Fix CS Jul 31, 2016
Inflector Fix the bundle headers Oct 6, 2015
Negotiation Fixes Mar 26, 2016
Normalizer Merge branch '1.8' into 2.0 May 11, 2016
Request Merge branch '2.1' Dec 2, 2016
Resources Merge branch '2.0' Nov 11, 2016
Response/AllowedMethodsLoader Merge branch '1.8' into 2.0 Apr 6, 2016
Routing Merge branch '2.0' into 2.1 Nov 23, 2016
Serializer #1536 Added support for JMS exclusion strategies (#1583) Oct 9, 2016
Tests Merge branch '2.1' Dec 2, 2016
Util Fix CS Jul 31, 2016
Validator/Constraints the Regex constraint is resolvable (#1591) Nov 7, 2016
Version Fix CS Jul 31, 2016
View fixed wrong resolved conflicts after Merge branch '1.8' into master Apr 5, 2016
.gitignore Fix the tests (#1621) Dec 2, 2016
.php_cs Fix CS Jul 31, 2016
.styleci.yml Fix styleci May 31, 2016
.travis.yml Update Travis config Dec 2, 2016
CHANGELOG.md Merge branch '1.7' into 1.8 May 15, 2016
FOSRestBundle.php Refactor the Exception controller to remove the ExceptionWrapper Mar 6, 2016
README.md Merge branch '2.0' into 2.1 Nov 23, 2016
UPGRADING-2.0.md Document the `media_type` option removal Sep 7, 2016
UPGRADING-2.1.md Fix an issue with symfony groups (#1548) Aug 9, 2016
UPGRADING-3.0.md tweak the max depth deprecation Jul 4, 2016
composer.json Merge branch '2.1' Dec 2, 2016
phpunit Fix the tests (#1621) Dec 2, 2016
phpunit.xml.dist Use symfony/phpunit-bridge and fix deprecations Nov 28, 2015

README.md

FOSRestBundle

This bundle provides various tools to rapidly develop RESTful API's & applications with Symfony. Features include:

  • A View layer to enable output and format agnostic Controllers
  • A custom route loader to generate url's following REST conventions
  • Accept header format negotiation including handling for custom mime types
  • RESTful decoding of HTTP request body and Accept headers
  • Exception controller for sending appropriate HTTP status codes

Build Status Scrutinizer Code Quality Code Coverage Total Downloads Latest Stable Version SensioLabsInsight

Note

FOSRestBundle 1.x is no longer maintained, 1.8 only receives security fixes. Please upgrade to FOSRestBundle 2.x as soon as possible.

Documentation

Read the Documentation

Please see the UPGRADING-2.0.md for any relevant instructions when upgrading to a newer version.

Installation

All the installation instructions are located in the documentation.

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE