PHPackages                             friendsofsymfony/rest-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. friendsofsymfony/rest-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

friendsofsymfony/rest-bundle
============================

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

3.9.0(4mo ago)2.8k75.0M↓38.2%689[144 issues](https://github.com/FriendsOfSymfony/FOSRestBundle/issues)[14 PRs](https://github.com/FriendsOfSymfony/FOSRestBundle/pulls)20MITPHPPHP ^7.4|^8.0CI failing

Since Apr 18Pushed 4mo ago79 watchersCompare

[ Source](https://github.com/FriendsOfSymfony/FOSRestBundle)[ Packagist](https://packagist.org/packages/friendsofsymfony/rest-bundle)[ Docs](http://friendsofsymfony.github.com)[ RSS](/packages/friendsofsymfony-rest-bundle/feed)WikiDiscussions 3.x Synced 1w ago

READMEChangelog (10)Dependencies (31)Versions (109)Used By (20)Security (1)

FOSRestBundle
=============

[](#fosrestbundle)

This bundle provides various tools to rapidly develop RESTful API's &amp; 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](https://github.com/FriendsOfSymfony/FOSRestBundle/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/FriendsOfSymfony/FOSRestBundle/actions/workflows/continuous-integration.yml)[![Total Downloads](https://camo.githubusercontent.com/59e49561074da2eacf2cac4e5c38e7e2bb17b8bad91a672c9ebba67b26ca28c4/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653796d666f6e792f726573742d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/FriendsOfSymfony/rest-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/e1bf5404c8585410d07cfc0131d238121d47b18782c3980ff21541f76d0b1ce1/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653796d666f6e792f726573742d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/FriendsOfSymfony/rest-bundle)

Documentation
-------------

[](#documentation)

[Read the Documentation](https://fosrestbundle.readthedocs.io/)

Please see the upgrade files (`UPGRADING-X.X.md`) for any relevant instructions when upgrading to a newer version.

Installation
------------

[](#installation)

All the installation instructions are located in the [documentation](https://fosrestbundle.readthedocs.io/en/3.x/1-setting_up_the_bundle.html).

License
-------

[](#license)

This bundle is under the MIT license. See the complete license [in the bundle](LICENSE).

###  Health Score

78

—

ExcellentBetter than 100% of packages

Maintenance77

Regular maintenance activity

Popularity81

Widely adopted with strong download metrics

Community59

Growing community involvement

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 51.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~115 days

Total

108

Last Release

120d ago

Major Versions

2.8.2 → 3.0.22020-07-14

2.8.3 → 3.0.32020-09-10

2.8.4 → 3.0.42020-12-10

2.8.6 → 3.0.52021-01-02

2.x-dev → 3.1.02021-10-15

PHP version history (9 changes)0.6.0PHP &gt;=5.3.2

1.5.0-RC1PHP &gt;=5.3.9

1.7.4PHP ^5.3.9|~7.0

2.0.0-BETA1PHP ^5.5.9|~7.0

2.6.0PHP ^7.1

3.0.0-beta1PHP ^7.2

2.8.2PHP ^7.1|^8.0

3.0.2PHP ^7.2|^8.0

3.7.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/75c5d927b0434111db9720dd78af8c83385cf28bb9aeafd031ba8cb0c4ffc558?d=identicon)[Stof](/maintainers/Stof)

![](https://avatars.githubusercontent.com/u/20873?v=4)[Luke Smith](/maintainers/lsmith)[@lsmith](https://github.com/lsmith)

---

Top Contributors

[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (1255 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (582 commits)")[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (57 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (56 commits)")[![everzet](https://avatars.githubusercontent.com/u/30813?v=4)](https://github.com/everzet "everzet (54 commits)")[![Tobion](https://avatars.githubusercontent.com/u/610090?v=4)](https://github.com/Tobion "Tobion (50 commits)")[![GuilhemN](https://avatars.githubusercontent.com/u/6871899?v=4)](https://github.com/GuilhemN "GuilhemN (42 commits)")[![W0rma](https://avatars.githubusercontent.com/u/20659830?v=4)](https://github.com/W0rma "W0rma (31 commits)")[![johnwards](https://avatars.githubusercontent.com/u/34269?v=4)](https://github.com/johnwards "johnwards (26 commits)")[![tystr](https://avatars.githubusercontent.com/u/779428?v=4)](https://github.com/tystr "tystr (25 commits)")[![Ma27](https://avatars.githubusercontent.com/u/6025220?v=4)](https://github.com/Ma27 "Ma27 (21 commits)")[![yethee](https://avatars.githubusercontent.com/u/559488?v=4)](https://github.com/yethee "yethee (18 commits)")[![merk](https://avatars.githubusercontent.com/u/278097?v=4)](https://github.com/merk "merk (17 commits)")[![florianv](https://avatars.githubusercontent.com/u/1586668?v=4)](https://github.com/florianv "florianv (17 commits)")[![deluxetom](https://avatars.githubusercontent.com/u/6439307?v=4)](https://github.com/deluxetom "deluxetom (16 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (16 commits)")[![mgiustiniani](https://avatars.githubusercontent.com/u/1478947?v=4)](https://github.com/mgiustiniani "mgiustiniani (15 commits)")[![XWB](https://avatars.githubusercontent.com/u/1032281?v=4)](https://github.com/XWB "XWB (15 commits)")[![tonivdv](https://avatars.githubusercontent.com/u/1267658?v=4)](https://github.com/tonivdv "tonivdv (14 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (14 commits)")

---

Tags

phprestrest-apisymfonysymfony-bundlerest

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/friendsofsymfony-rest-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/friendsofsymfony-rest-bundle/health.svg)](https://phpackages.com/packages/friendsofsymfony-rest-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.0k](/packages/symfony-framework-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M195](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M506](/packages/shopware-core)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k181.3M2.2k](/packages/symfony-security-bundle)[shopware/storefront

Storefront for Shopware

684.4M207](/packages/shopware-storefront)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
