This Bundle provides various tools to rapidly develop RESTful API's with Symfony
Tobion Merge pull request #1947 from jhcasado/patch-2
Ordering controllers by filename before load their routes
Latest commit 39fc21d Nov 8, 2018
Permalink
Failed to load latest commit information.
Context make StyleCI happy again Jan 3, 2018
Controller Fixed use statement for symfony 4 compatibility Jun 5, 2018
Decoder use a lazy loading service locator for decoders Nov 24, 2017
DependencyInjection Merge pull request #1929 from magnetik/serializer-xml Sep 24, 2018
EventListener Fix issues with URI versioning and version annotation condition (#1937) Sep 13, 2018
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 code style fixes Nov 6, 2017
Normalizer Merge branch '1.8' into 2.0 May 11, 2016
Request Fix dependency to sensio/framework-extra-bundle (#1838) Aug 23, 2018
Resources Minor doc cleanup/fixes (#1948) Oct 25, 2018
Response/AllowedMethodsLoader Merge branch '1.8' into 2.0 Apr 6, 2016
Routing Ordering controllers by filename before load their routes Oct 18, 2018
Serializer Fix cs May 22, 2018
Tests Fix issues with URI versioning and version annotation condition (#1937) Sep 13, 2018
Util Fix typo in RuntimeException (#1944) Oct 6, 2018
Validator/Constraints the Regex constraint is resolvable (#1591) Nov 7, 2016
Version code style fixes Nov 6, 2017
View Reset internal state of ViewHandler at the end of request (#1926) Sep 13, 2018
.gitignore Fix the tests (#1621) Dec 2, 2016
.php_cs Fix CS Jul 31, 2016
.styleci.yml make StyleCI happy again Jan 3, 2018
.travis.yml run also tests on php 7.2 Jun 15, 2018
CHANGELOG.md Update branch alias and fix outdated and irrelevant doc Aug 13, 2018
FOSRestBundle.php manually decorate the core JMS handler registry Feb 27, 2018
LICENSE add year to license Jan 1, 2017
README.md Merge branch '2.0' into 2.1 Jun 26, 2017
UPGRADING-2.0.md Fix wrong upgrade instructions for exception_fallback_format Aug 18, 2017
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 Update branch alias and fix outdated and irrelevant doc Aug 13, 2018
phpunit Fix the tests (#1621) Dec 2, 2016
phpunit.xml.dist do not silence error logs Nov 27, 2017

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.