Developed with love by KnpLabs Hire us for your project!
1387

FOSRestBundle

by FriendsOfSymfony

This Bundle provides various tools to rapidly develop RESTful API's with Symfony2

FOSRestBundle

This bundle provides various tools to rapidly develop RESTful API's &
applications with Symfony2. 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

Documentation

Read the Documentation

Please see the UPGRADING.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
Copyright (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • Merge pull request #902 from allan-simon/add_annotation_incompatibles_query_param
    By lsmith77, 1 year ago
  • close #901, we can add a incompatibles attribute
    By allan-simon, 1 year ago
  • Merge pull request #988 from ifdattic/patch-1
    By lsmith77, 1 year ago
  • Fix typos, improve readability
    By ifdattic, 1 year ago
  • Fix typos, improve readability
    By ifdattic, 1 year ago
  • Fix typos, improve readability
    By ifdattic, 1 year ago
  • Merge pull request #979 from florianv/array-normalizer
    By lsmith77, 1 year ago
  • Fixed array normalization for form post
    By florianv, 1 year ago
  • Merge pull request #986 from florianv/missing-headers
    By stof, 1 year ago
  • Added missing header comment
    By florianv, 1 year ago
  • Merge pull request #982 from florianv/remove-param
    By lsmith77, 1 year ago
  • Removed parameter for exception normalizer class
    By florianv, 1 year ago
  • Merge pull request #981 from florianv/fix-test
    By lsmith77, 1 year ago
  • Allowed php and hhvm nightly to fail
    By florianv, 1 year ago
  • Removed useless ini_set
    By florianv, 1 year ago
  • Merge pull request #975 from florianv/serializer
    By lsmith77, 1 year ago
  • Merge pull request #978 from florianv/nightly
    By lsmith77, 1 year ago
  • Build against php nightly
    By florianv, 1 year ago
  • Exception serialization with core serializer
    By florianv, 1 year ago
  • Merge pull request #970 from xabbuh/issue-969
    By lsmith77, 1 year ago
  • improved exception controller docs
    By lsmith77, 1 year ago
  • remove unusable handler when JMS serializer is not present
    By xabbuh, 1 year ago
  • Merge pull request #967 from giosh94mhz/template_var_with_lazy_loading
    By lsmith77, 1 year ago
  • Update tests and documentation
    By , 1 year ago
  • ViewHandler lazy loading of template vars
    By giosh94mhz, 1 year ago
  • Add default value to $templateData variable
    By giosh94mhz, 1 year ago
  • Pass additional variables in template system
    By giosh94mhz, 1 year ago
  • Merge pull request #966 from studentenraad/forward-requirements-defaults
    By lsmith77, 1 year ago
  • Fix bug in RestYamlCollectionLoader that does not forward defaults and requirements.
    By vierbergenlars, 1 year ago
  • Test that XML and YAML route collections forward requirements and defaults
    By vierbergenlars, 1 year ago