PHPackages                             iamxnuel/http-utility - 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. iamxnuel/http-utility

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

iamxnuel/http-utility
=====================

Plain PHP HTTP utilities including Basic and Digest authentication, ideal for MJPEG streaming and REST APIs requiring authentication.

v1.0.0(6mo ago)02MITPHPPHP ^8.0

Since Oct 20Pushed 6mo agoCompare

[ Source](https://github.com/iamxnuel/php-digest)[ Packagist](https://packagist.org/packages/iamxnuel/http-utility)[ RSS](/packages/iamxnuel-http-utility/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

HTTPUtility
===========

[](#httputility)

[![PHP Version](https://camo.githubusercontent.com/b8a795120c5532cd2ac4abba74592c798be1eef6dfb123f81e8792b8fea4c84b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302b2d627269676874677265656e2e737667)](https://www.php.net/)

HTTPUtility is a lightweight PHP library providing HTTP utilities, including **Basic and Digest authentication handling**, and tools for parsing HTTP headers.

This library was originally created to **support MJPEG Restreaming** from cameras that only support **Digest authentication**, as no existing solution fit this use case at the time. It is still useful for any REST API or HTTP client requiring authenticated requests.

Features
--------

[](#features)

- Parse raw HTTP headers into structured arrays.
- Extract HTTP response codes and statuses.
- Parse `WWW-Authenticate` headers.
- Handle **Basic authentication** headers.
- Handle **Digest authentication** headers including `nonce`, `cnonce`, and `qop`.
- Build authorization headers for HTTP clients.
- Compatible with any PHP project using PHP 8+.

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

[](#installation)

Install via Composer:

```
composer require iamxnuel/http-utility
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance66

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

202d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e6029428905fe652eb370db671cf3483e7638041c45294a0f50f6ebc601257a?d=identicon)[iamxnuel](/maintainers/iamxnuel)

---

Top Contributors

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

---

Tags

httpstreamphprestAuthenticationheadersbasicdigestmjpeg

### Embed Badge

![Health badge](/badges/iamxnuel-http-utility/health.svg)

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

###  Alternatives

[middlewares/http-authentication

Middleware to implement Basic and Digest Http authentication

35302.0k2](/packages/middlewares-http-authentication)[aphiria/aphiria

The Aphiria framework

1427.7k2](/packages/aphiria-aphiria)[sven/super-basic-auth

A lightweight package to add basic authentication to your Laravel app.

232.6k](/packages/sven-super-basic-auth)

PHPackages © 2026

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