This Bundle provides various tools to rapidly develop RESTful API's with Symfony
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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 return the value to use after normalization (#1920) Jul 25, 2018
EventListener code style fixes Nov 6, 2017
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 code style fixes Nov 6, 2017
Resources Update branch alias and fix outdated and irrelevant doc Aug 13, 2018
Response/AllowedMethodsLoader Merge branch '1.8' into 2.0 Apr 6, 2016
Routing fix route generator not ignoring body param converters (#1934) Aug 21, 2018
Serializer Fix cs May 22, 2018
Tests fix route generator not ignoring body param converters (#1934) Aug 21, 2018
Util Fix CS Jul 31, 2016
Validator/Constraints the Regex constraint is resolvable (#1591) Nov 7, 2016
Version code style fixes Nov 6, 2017
View code style fixes Nov 6, 2017
.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.