PHPackages                             ganbarodigital/php-http-status - 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. ganbarodigital/php-http-status

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

ganbarodigital/php-http-status
==============================

2.0.0(10y ago)02376BSD-3-ClausePHPPHP &gt;= 5.5

Since Apr 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ganbarodigital/php-http-status)[ Packagist](https://packagist.org/packages/ganbarodigital/php-http-status)[ RSS](/packages/ganbarodigital-php-http-status/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (2)Versions (5)Used By (6)

PHP HTTP Status Library
=======================

[](#php-http-status-library)

[![GitHub license](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://raw.githubusercontent.com/ganbarodigital/php-http-status/develop/LICENSE.md)[![@ganbarodigital on Twitter](https://camo.githubusercontent.com/cfe3f6e7ae9c18f66fa57bed843790e668bd3ac88417017dfe9f45d8f0296cb9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d25343067616e6261726f6469676974616c2d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/ganbarodigital)[![Total Downloads](https://camo.githubusercontent.com/33bbbba19e11ef1d9714782a3d11e5a5c2828226b84d61b3726dbb93f7f26379/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67616e6261726f6469676974616c2f7068702d687474702d7374617475732e7376673f7374796c653d666c6174)](https://packagist.org/packages/ganbarodigital/php-http-status)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/05d9e3dd899782bc24d8b9499e1c065e78150864903ba01f5aa01ce05f42d564/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d687474702d7374617475732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-http-status/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/ce6023987969e8b20729cea00486e30d71ab4f7da308f3e9fc764d36cf66d693/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f67616e6261726f6469676974616c2f7068702d687474702d7374617475732f62616467652e737667)](https://coveralls.io/r/ganbarodigital/php-http-status)[![Dependency Status](https://camo.githubusercontent.com/d3d488508ee250fccf285a093b396a655b7ae5f6249ab148e863bccf186e6a22/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d687474702d7374617475732f6465762d6d61737465722f62616467652e737667)](https://www.versioneye.com/php/ganbarodigital:php-http-status/dev-master)[![Reference Status](https://camo.githubusercontent.com/78ce8d04f644038a24a9fe386f9e14054d6ce70153d4088cd839a78791dc983a/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d687474702d7374617475732f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/ganbarodigital:php-http-status/references)

Introduction
------------

[](#introduction)

The PHP HTTP Status library provides:

- a set of value objects representing each of the HTTP status codes
- a set of easy-to-use traits that can add a HTTP status code to your own value objects, entities and exceptions

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

[](#installation)

Run this command to add this library to your `composer.json` file:

```
composer require ganbarodigital/php-http-status

```

Usage
-----

[](#usage)

See [our docs page](http://ganbarodigital.github.io/php-http-status) for a tutorial and reference documentation.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~11 days

Total

3

Last Release

3710d ago

Major Versions

1.0.1 → 2.0.02016-05-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc3934d5c3ce55e18dca95d52b564fb2a34986770af3c532dba6c248ef58f3a?d=identicon)[stuartherbert](/maintainers/stuartherbert)

---

Top Contributors

[![stuartherbert](https://avatars.githubusercontent.com/u/7926?v=4)](https://github.com/stuartherbert "stuartherbert (317 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ganbarodigital-php-http-status/health.svg)

```
[![Health](https://phpackages.com/badges/ganbarodigital-php-http-status/health.svg)](https://phpackages.com/packages/ganbarodigital-php-http-status)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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