This Bundle provides various tools to rapidly develop RESTful API's with Symfony2
PHP
Pull request Compare This branch is 73 commits behind FriendsOfSymfony:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Context
Controller
Decoder
DependencyInjection
EventListener
Exception
Form
Inflector
Negotiation
Normalizer
Request
Resources
Response/AllowedMethodsLoader
Routing
Serializer
Tests
Util
Validator/Constraints
Version
View
.gitignore
.php_cs
.styleci.yml
.travis.yml
CHANGELOG.md
FOSRestBundle.php
README.md
UPGRADING-2.0.md
UPGRADING-2.1.md
UPGRADING-3.0.md
composer.json
phpunit
phpunit.xml.dist

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