PHPackages                             marcandreappel/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. marcandreappel/http\_status

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

marcandreappel/http\_status
===========================

HTTP Status Codes

1.0.0(7y ago)011[2 PRs](https://github.com/marcandreappel/http_status/pulls)MITPHPPHP &gt;=7.0.0

Since Jun 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/marcandreappel/http_status)[ Packagist](https://packagist.org/packages/marcandreappel/http_status)[ RSS](/packages/marcandreappel-http-status/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (5)Used By (0)

HTTP Status
===========

[](#http-status)

[![Travis build status](https://camo.githubusercontent.com/776cade112afe534d2add7a13333a2ff283c501ddc95d0d45706984020b9d380/68747470733a2f2f7472617669732d63692e6f72672f6d617263616e647265617070656c2f687474705f7374617475732e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/776cade112afe534d2add7a13333a2ff283c501ddc95d0d45706984020b9d380/68747470733a2f2f7472617669732d63692e6f72672f6d617263616e647265617070656c2f687474705f7374617475732e7376673f6272616e63683d6d6173746572) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/949201ca8ece336e62e51a98c5196a903970c8c9c0a3ce17fa910e0f77a543ea/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d617263616e647265617070656c2f687474705f7374617475732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/marcandreappel/http_status/?branch=master) [![Code Intelligence Status](https://camo.githubusercontent.com/1da75f34a1421e9b52beab3f2eb42c232f769c3e8324e9abefa84147ddfa5b0c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d617263616e647265617070656c2f687474705f7374617475732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

Usage
-----

[](#usage)

```
class MyClass {
    use \MarcAndreAppel\HttpStatus\HttpStatusTrait;

    public function myFunction() {
        $httpStatus = $this->httpStatusCode(400);

        $httpStatus->header();
        print($httpStatus->message);
    }
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

2884d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4620c96e07f06cc88660ac5aa15f0933df05b9900b3fda902be7371f37574c91?d=identicon)[marc-andre](/maintainers/marc-andre)

---

Tags

codehttpphp72status

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

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

78126.4M414](/packages/react-http)

PHPackages © 2026

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