PHPackages                             troytft/rest-api-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. [API Development](/categories/api)
4. /
5. troytft/rest-api-bundle

ActiveLibrary[API Development](/categories/api)

troytft/rest-api-bundle
=======================

REST API Bundle is abstraction layer for requests and responses

v0.37.6(2w ago)513.5k2Apache-2.0PHPPHP &gt;=8.1CI passing

Since Nov 3Pushed 2w ago2 watchersCompare

[ Source](https://github.com/troytft/rest-api-bundle)[ Packagist](https://packagist.org/packages/troytft/rest-api-bundle)[ RSS](/packages/troytft-rest-api-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (69)Versions (120)Used By (0)

REST API Bundle
===============

[](#rest-api-bundle)

[![Build Status](https://github.com/troytft/rest-api-bundle/workflows/Tests/badge.svg)](https://github.com/troytft/rest-api-bundle/workflows/Tests/badge.svg)

Features:

- Abstraction level for requests: describe jsonBody/queryString by php class, properties are configured by attributes/annotations
- Abstraction level for responses: describe response object by php class, properties are configured by public getters
- Auto-generated documentation: generate OpenAPI specification without additional code, just add `#[OpenApi\Endpoint(...)]`

Work in progress.

See [docs/README.md](docs/README.md) for detailed documentation.

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance97

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% 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 ~21 days

Recently: every ~36 days

Total

116

Last Release

16d ago

PHP version history (5 changes)v0.6.0PHP ^7.2

v0.14.0PHP &gt;=7.2.5

v0.22.0PHP &gt;=7.4

v0.25.0PHP &gt;=8.0

v0.29.14PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/595612?v=4)[Ilya Gordienko](/maintainers/Troytft)[@troytft](https://github.com/troytft)

---

Top Contributors

[![troytft](https://avatars.githubusercontent.com/u/595612?v=4)](https://github.com/troytft "troytft (351 commits)")[![spuf](https://avatars.githubusercontent.com/u/556061?v=4)](https://github.com/spuf "spuf (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![naetkss](https://avatars.githubusercontent.com/u/27727482?v=4)](https://github.com/naetkss "naetkss (1 commits)")

---

Tags

apiphprestrest-apisymfonysymfony-bundle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)

PHPackages © 2026

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