PHPackages                             php-common-enums/http-response-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. php-common-enums/http-response-code

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

php-common-enums/http-response-code
===================================

Provides a backed enum for HTTP response codes

v1.0.0(3y ago)04.0k↑50%2MITPHPPHP ^8.1

Since Jun 3Pushed 3y agoCompare

[ Source](https://github.com/php-common-enums/http-response-code)[ Packagist](https://packagist.org/packages/php-common-enums/http-response-code)[ RSS](/packages/php-common-enums-http-response-code/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (2)

HTTP Response Code Enum
=======================

[](#http-response-code-enum)

Provides a backed enum for HTTP response codes.

### Installing

[](#installing)

```
$ composer require php-common-enums/http-response-code
```

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

[](#contributing)

Please read [CODE\_OF\_CONDUCT.md](https://github.com/php-common-enums/proposed-enums/blob/main/CODE_OF_CONDUCT.md) for details on our code of conduct.

Please read [CONTRIBUTING.md](https://github.com/php-common-enums/proposed-enums/blob/main/CONTRIBUTING.md) for details on the process for submitting pull requests and/or new backed enums to us.

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/php-common-enums/http-response-code/tags).

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](https://github.com/php-common-enums/proposed-enums/blob/main/LICENSE) file for details

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/177d7a578364350db5f97944ec318a65a2c7575c5d1747eeee9f7dc1e3c1dc54?d=identicon)[php-common-enums](/maintainers/php-common-enums)

---

Top Contributors

[![gnito-org](https://avatars.githubusercontent.com/u/70450336?v=4)](https://github.com/gnito-org "gnito-org (2 commits)")

---

Tags

enum

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-common-enums-http-response-code/health.svg)

```
[![Health](https://phpackages.com/badges/php-common-enums-http-response-code/health.svg)](https://phpackages.com/packages/php-common-enums-http-response-code)
```

###  Alternatives

[friendsofsymfony/rest-bundle

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

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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