friendsofsymfony/rest-bundle
This Bundle provides various tools to rapidly develop RESTful API's with Symfony
Package info
github.com/FriendsOfSymfony/FOSRestBundle
Type:symfony-bundle
pkg:composer/friendsofsymfony/rest-bundle
Requires
- php: ^7.4|^8.0
- symfony/config: ^5.4|^6.4|^7.0|^8.0
- symfony/dependency-injection: ^5.4|^6.4|^7.0|^8.0
- symfony/deprecation-contracts: ^2.1|^3.0
- symfony/event-dispatcher: ^5.4|^6.4|^7.0|^8.0
- symfony/framework-bundle: ^5.4|^6.4|^7.0|^8.0
- symfony/http-foundation: ^5.4|^6.4|^7.0|^8.0
- symfony/http-kernel: ^5.4|^6.4|^7.0|^8.0
- symfony/routing: ^5.4|^6.4|^7.0|^8.0
- symfony/security-core: ^5.4|^6.4|^7.0|^8.0
- willdurand/jsonp-callback-validator: ^1.0|^2.0
- willdurand/negotiation: ^2.0|^3.0
Requires (Dev)
- doctrine/annotations: ^1.13.2|^2.0
- friendsofphp/php-cs-fixer: ^3.43
- jms/serializer: ^1.13|^2.0|^3.0
- jms/serializer-bundle: ^2.4.3|^3.0.1|^4.0|^5.0
- psr/http-message: ^1.0
- psr/log: ^1.0|^2.0|^3.0
- sensio/framework-extra-bundle: ^6.1
- symfony/asset: ^5.4|^6.4|^7.0|^8.0
- symfony/browser-kit: ^5.4|^6.4|^7.0|^8.0
- symfony/css-selector: ^5.4|^6.4|^7.0|^8.0
- symfony/expression-language: ^5.4|^6.4|^7.0|^8.0
- symfony/form: ^5.4|^6.4|^7.0|^8.0
- symfony/mime: ^5.4|^6.4|^7.0|^8.0
- symfony/phpunit-bridge: ^7.0.1|^8.0
- symfony/security-bundle: ^5.4|^6.4|^7.0|^8.0
- symfony/serializer: ^5.4|^6.4|^7.0|^8.0
- symfony/twig-bundle: ^5.4|^6.4|^7.0|^8.0
- symfony/validator: ^5.4|^6.4|^7.0|^8.0
- symfony/web-profiler-bundle: ^5.4|^6.4|^7.0|^8.0
- symfony/yaml: ^5.4|^6.4|^7.0|^8.0
Suggests
- jms/serializer-bundle: Add support for advanced serialization capabilities, recommended
- sensio/framework-extra-bundle: Add support for the request body converter and the view response listener, not supported with Symfony >=7.0
- symfony/serializer: Add support for basic serialization capabilities and xml decoding
- symfony/validator: Add support for validation capabilities in the ParamFetcher
Provides
None
Conflicts
- doctrine/annotations: <1.12
- jms/serializer: <1.13.0
- jms/serializer-bundle: <2.4.3|3.0.0
- sensio/framework-extra-bundle: <6.1
Replaces
None
MIT 0a0d597a79734a8bd3a90cf6fa58de82940fc873
- Lukas Kahwe Smith <smith.woop@pooteeweet.org>
- Konstantin Kudryashov <ever.zet.woop@gmail.com>
- FriendsOfSymfony Community
This package is auto-updated.
Last update: 2026-06-10 03:18:12 UTC
README
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
- Accept header format negotiation including handling for custom mime types
- RESTful decoding of HTTP request body and Accept headers
- Map exception codes to HTTP response status codes
- A serializer error renderer that returns exceptions and errors in a format compatible with RFC 7807 using the Symfony Serializer component or the JMS Serializer
👁 Build Status
👁 Total Downloads
👁 Latest Stable Version
Documentation
Please see the upgrade files (UPGRADING-X.X.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.
