PHPackages                             phabitat/protocol - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phabitat/protocol

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phabitat/protocol
=================

0.0.1(10y ago)139MITPHP

Since Dec 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/phabitat/protocol)[ Packagist](https://packagist.org/packages/phabitat/protocol)[ RSS](/packages/phabitat-protocol/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Protocol
========

[](#protocol)

A super lightweight abstraction layer for dealing with HTTP requests, responses and cookies. Comes with near-zero dependencies and a bunch of very useful HTTP constants. As every member in Phabitat family, Protocol is about doing only one thing well – allowing to parse and compose requests and responses. Unlike some popular libraries, it doesn't take responsibility for downloading or sending any data – that's not what an abstraction layer is about.

Examples
--------

[](#examples)

```
// Create request from superglobals.

$request    = SuperglobalsFactory::instance()->construct();
$ajax       = $request->isAjax();
$method     = $request->getMathod();
$parameters = $request->getParameters();
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

3833d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06f7d653e7576f940b0278cf420908e2090e0e3b924a1173be0204b55b61e9d0?d=identicon)[ianbytchek](/maintainers/ianbytchek)

---

Top Contributors

[![iby](https://avatars.githubusercontent.com/u/1086845?v=4)](https://github.com/iby "iby (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phabitat-protocol/health.svg)

```
[![Health](https://phpackages.com/badges/phabitat-protocol/health.svg)](https://phpackages.com/packages/phabitat-protocol)
```

###  Alternatives

[jtejido/geodesy-php

PHP library for geodesy functions

2783.0k](/packages/jtejido-geodesy-php)

PHPackages © 2026

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