PHPackages                             teapot/status-code - 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. teapot/status-code

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

teapot/status-code
==================

PHP HTTP Response Status code library

2.5.0(6mo ago)464.3M—3.5%4[3 issues](https://github.com/teapot-php/status-code/issues)[9 PRs](https://github.com/teapot-php/status-code/pulls)8MITPHPPHP ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Nov 15Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/teapot-php/status-code)[ Packagist](https://packagist.org/packages/teapot/status-code)[ Docs](https://github.com/teapot-php/status-code)[ RSS](/packages/teapot-status-code/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (25)Used By (8)

Teapot: Status Codes
====================

[](#teapot-status-codes)

[![Integrate](https://github.com/teapot-php/status-code/actions/workflows/integrate.yaml/badge.svg)](https://github.com/teapot-php/status-code/actions/workflows/integrate.yaml)[![latest_stable_version_img](https://camo.githubusercontent.com/7bbe95916d6544ceec0dc9aba3b947b4d3ade1f1e1044d0923981d9348889f2e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746561706f742f7374617475732d636f64652e737667 "Latest Stable Version")](https://packagist.org/packages/teapot/status-code "Latest Stable Version")[![latest_unstable_version_img](https://camo.githubusercontent.com/9ded7dcba7c1b03439ec097a99ead040ee86bbaa8a16b04989f21fb005a0a8b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f746561706f742f7374617475732d636f64652e737667 "Latest Unstable Version")](https://packagist.org/packages/teapot/status-code "Latest Unstable Version")[![license_img](https://camo.githubusercontent.com/67dd4b4d859453f83f54b511d95adafeac8ca87429ed55e276617df41fa6f958/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746561706f742f7374617475732d636f64652e737667 "License")](https://packagist.org/packages/teapot/status-code)[![twitter_img](https://camo.githubusercontent.com/25e3507bbe81f763f5792d81fbdb5838660ffe9dcc03235ce5ed4958844bea18/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d253430736872696b65682d626c75652e737667 "@shrikeh on Twitter")](https://twitter.com/shrikeh)

Part of the teapot library. This is a port of all of the status codes, so the exceptions etc don't get included in this one.

Changelog
---------

[](#changelog)

Please have a look at [`CHANGELOG.md`](CHANGELOG.md).

Contributing
------------

[](#contributing)

Please have a look at [`CONTRIBUTING.md`](.github/CONTRIBUTING.md).

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance76

Regular maintenance activity

Popularity53

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 67.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 ~274 days

Recently: every ~231 days

Total

13

Last Release

180d ago

Major Versions

v1.1.2 → 2.0.02022-09-22

PHP version history (7 changes)v1.0.0PHP &gt;=5.4

v1.1.2PHP ^5.4 || ^7.0 || ^8.0

2.1.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

2.2.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

2.3.0PHP ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

2.4.0PHP ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

2.5.0PHP ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/62ab3e34ffd6ff72a98201ef7fc4f803077e7b25d62f39c81257b27d3467e273?d=identicon)[shrikeh](/maintainers/shrikeh)

---

Top Contributors

[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (265 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (113 commits)")[![shrikeh](https://avatars.githubusercontent.com/u/445227?v=4)](https://github.com/shrikeh "shrikeh (9 commits)")[![holtkamp](https://avatars.githubusercontent.com/u/776405?v=4)](https://github.com/holtkamp "holtkamp (1 commits)")[![jtheuerkauf](https://avatars.githubusercontent.com/u/105436210?v=4)](https://github.com/jtheuerkauf "jtheuerkauf (1 commits)")[![OrestisZag](https://avatars.githubusercontent.com/u/9551261?v=4)](https://github.com/OrestisZag "OrestisZag (1 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (1 commits)")

---

Tags

http

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/teapot-status-code/health.svg)

```
[![Health](https://phpackages.com/badges/teapot-status-code/health.svg)](https://phpackages.com/packages/teapot-status-code)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.0B3.2k](/packages/guzzlehttp-psr7)[psr/http-message

Common interface for HTTP messages

7.1k1.0B5.5k](/packages/psr-http-message)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[php-http/httplug

HTTPlug, the HTTP client abstraction for PHP

2.6k307.6M679](/packages/php-http-httplug)[psr/http-client

Common interface for HTTP clients

1.7k680.7M2.1k](/packages/psr-http-client)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k314.0M3.4k](/packages/symfony-http-client)

PHPackages © 2026

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