PHPackages                             chubbyphp/chubbyphp-api-http - 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. chubbyphp/chubbyphp-api-http

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

chubbyphp/chubbyphp-api-http
============================

Chubbyphp Api Http

6.0.0(2y ago)316.8k2[1 PRs](https://github.com/chubbyphp/chubbyphp-api-http/pulls)MITPHPPHP ^8.1

Since Aug 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/chubbyphp/chubbyphp-api-http)[ Packagist](https://packagist.org/packages/chubbyphp/chubbyphp-api-http)[ RSS](/packages/chubbyphp-chubbyphp-api-http/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (19)Versions (51)Used By (0)

chubbyphp-api-http
==================

[](#chubbyphp-api-http)

[![CI](https://github.com/chubbyphp/chubbyphp-api-http/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyphp/chubbyphp-api-http/actions?query=workflow%3ACI)[![Coverage Status](https://camo.githubusercontent.com/0a31d7d8e308bd64754be166ba8fe498248805a198b74952cf14a9e0de88bd0e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6368756262797068702f6368756262797068702d6170692d687474702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chubbyphp/chubbyphp-api-http?branch=master)[![Mutation testing badge](https://camo.githubusercontent.com/088460e2c833cc3f3baf463048b898ef3997a5193edb293cf66f85506cde7648/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466368756262797068702532466368756262797068702d6170692d687474702532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-api-http/master)[![Latest Stable Version](https://camo.githubusercontent.com/bff60caee7ea9dff1826149294f6b1a315a80c876bfea9deda3fe5d6f0c1e9e6/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6170692d687474702f762f737461626c652e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-api-http)[![Total Downloads](https://camo.githubusercontent.com/5d792995f726213905296759c45d31a3c9d3255dcda1d368ba8d6be6263f7642/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6170692d687474702f646f776e6c6f6164732e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-api-http)[![Monthly Downloads](https://camo.githubusercontent.com/d356e9e0c878c496a81f7b0eab9d82bcea8be81093a5d7ef8d6b45bb91d42369/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6170692d687474702f642f6d6f6e74686c79)](https://packagist.org/packages/chubbyphp/chubbyphp-api-http)

[![bugs](https://camo.githubusercontent.com/31a2891f9de9e957a5dbbd387e6c43f74e07fc512207d5acbb6601e545b7880f/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![code_smells](https://camo.githubusercontent.com/15cbb68da9bf5b78bf850241ec618ab39bfe9713b51bed2207509e6038f6fc81/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![coverage](https://camo.githubusercontent.com/e29e0bb5c28737b6521f5d5f4a1e43c3ce36fe2d7a5e131c830360e71df587b5/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![duplicated_lines_density](https://camo.githubusercontent.com/fffc88b2fd6cf85739ed09377984d811f419c97345cf049cf6b938f89e85e127/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d6475706c6963617465645f6c696e65735f64656e73697479)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![ncloc](https://camo.githubusercontent.com/44c7230f74bccbf7fe192a83cb5787dd83d30e781fbc18367c74a1196d9a535f/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![sqale_rating](https://camo.githubusercontent.com/ca2309a58d8c8da5cc19d8ea10fa50f1144809884d9c7788ea4ac55f52d7f498/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![alert_status](https://camo.githubusercontent.com/7006323daeda6d6491be91d43c19ca4b0b96b79b809cd10862b82f5d39c7d807/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![reliability_rating](https://camo.githubusercontent.com/f1314d2889f4c627fbf47e29c55d6edcce45d809b507a2cf26dc0aa4ac64b117/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![security_rating](https://camo.githubusercontent.com/eb4a31b61aac3a6de912309eb234d6c85b1bf41139613b78a371362bc1d3fafe/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![sqale_index](https://camo.githubusercontent.com/22ede5106c8485efa85e0b2ea97a3e10070274aa827375bbe4b7256aea003cfe/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)[![vulnerabilities](https://camo.githubusercontent.com/aedea38662fc571137d5b0851b6b2fc2726d467fc5542383f257a0ee757cf6cb/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6170692d68747470266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-api-http)

Description
-----------

[](#description)

A simple http handler implementation for API.

DEPRECATED: No personal interest anymore and based on stats nobody seems to use it. Feel free to create an issue if you disagree.

Requirements
------------

[](#requirements)

- php: ^8.1
- chubbyphp/chubbyphp-deserialization: ^4.0
- chubbyphp/chubbyphp-http-exception: ^1.1
- chubbyphp/chubbyphp-negotiation: ^2.0
- chubbyphp/chubbyphp-serialization: ^4.0
- psr/http-factory: ^1.0.2
- psr/http-message: ^1.1|^2.0
- psr/http-server-middleware: ^1.0.2
- psr/log: ^2.0|^3.0

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

[](#installation)

Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-api-http](https://packagist.org/packages/chubbyphp/chubbyphp-api-http).

```
composer require chubbyphp/chubbyphp-api-http "^6.0"
```

Usage
-----

[](#usage)

- [AcceptAndContentTypeMiddlewareFactory](doc/ServiceFactory/AcceptAndContentTypeMiddlewareFactory.md)
- [ApiExceptionMiddlewareFactory](doc/ServiceFactory/ApiExceptionMiddlewareFactory.md)
- [RequestManagerFactory](doc/ServiceFactory/RequestManagerFactory.md)
- [ResponseManagerFactory](doc/ServiceFactory/ResponseManagerFactory.md)
- [RequestManager](doc/Manager/RequestManager.md)
- [ResponseManager](doc/Manager/ResponseManager.md)
- [AcceptAndContentTypeMiddleware](doc/Middleware/AcceptAndContentTypeMiddleware.md)
- [ApiExceptionMiddleware](doc/Middleware/ApiExceptionMiddleware.md)

Copyright
---------

[](#copyright)

2024 Dominik Zogg

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.4% 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 ~118 days

Total

50

Last Release

914d ago

Major Versions

v1.x-dev → 2.0-alpha12018-04-12

v2.x-dev → 3.0-alpha12019-04-28

v3.x-dev → 4.0.02020-09-20

v4.x-dev → 5.0.02022-09-27

v5.x-dev → 6.0.02023-12-30

PHP version history (8 changes)1.0-beta1PHP ~7.0

3.0-alpha1PHP ^7.0

3.0-beta3PHP ^7.1

3.2.0PHP ^7.2

4.0.1PHP ^7.2|^8.0

4.1.0PHP ^7.4|^8.0

4.2.0PHP ^8.0

6.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/55048de83ca5e5d8c67164a19c78edcaad413b0c1a4ae10d92edf8d77bedd90f?d=identicon)[dominikzogg](/maintainers/dominikzogg)

---

Top Contributors

[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (178 commits)")[![mavimo](https://avatars.githubusercontent.com/u/43941?v=4)](https://github.com/mavimo "mavimo (1 commits)")

---

Tags

apiapi-problemdeserializedeserializerhttpmanagerpsr-7request-managerresponse-managerserializeserializerhttpapislimchubbyphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/chubbyphp-chubbyphp-api-http/health.svg)

```
[![Health](https://phpackages.com/badges/chubbyphp-chubbyphp-api-http/health.svg)](https://phpackages.com/packages/chubbyphp-chubbyphp-api-http)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B3.9k](/packages/guzzlehttp-psr7)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.0k](/packages/typo3-cms-core)

PHPackages © 2026

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