PHPackages                             guillermofisher/php-http-constants - 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. guillermofisher/php-http-constants

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

guillermofisher/php-http-constants
==================================

A PHP library of HTTP-related constants.

0.1.1(4y ago)04MITPHPPHP ^8.0

Since Jan 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/guillermoandrae/php-http-constants)[ Packagist](https://packagist.org/packages/guillermofisher/php-http-constants)[ RSS](/packages/guillermofisher-php-http-constants/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

PHP HTTP Constants
==================

[](#php-http-constants)

[![Packagist](https://camo.githubusercontent.com/aca34a98204c5174a8f956e04b188159af52c2ac714c352295f97994bc61e8cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6775696c6c65726d6f616e647261652f7068702d687474702d636f6e7374616e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/guillermoandrae/php-http-constants) [![@guillermoandrae on Twitter](https://camo.githubusercontent.com/70c8987bbf09ffea3df71ed0afad16f7a74817180859c9ee82460705ed6282ea/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d2534306775696c6c65726d6f616e647261652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/guillermoandrae)

HTTP constants. That's all. I need them and couldn't find a library that I liked.

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

[](#installation)

Do this, then relax:

```
composer require guillermoandrae/php-http-constants

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Every ~0 days

Total

2

Last Release

1587d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2506dcc85d5af658321cdb08df33f0ebb585c04f24bfcca0f8c05dd6f68bc0f?d=identicon)[guillermoandrae](/maintainers/guillermoandrae)

---

Top Contributors

[![guillermoandrae](https://avatars.githubusercontent.com/u/133861?v=4)](https://github.com/guillermoandrae "guillermoandrae (6 commits)")

---

Tags

httphttp-methodshttp-status-codesphpphp8

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/guillermofisher-php-http-constants/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

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

2.8k73.3M317](/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.8M292](/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)
