PHPackages                             cjpgdk/php-http-auth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. cjpgdk/php-http-auth

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

cjpgdk/php-http-auth
====================

PHP Library to make use of HTTP Authentication

1.0.0(9y ago)019MITPHPPHP &gt;=5.5.0

Since May 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/cjpgdk/php-http-auth)[ Packagist](https://packagist.org/packages/cjpgdk/php-http-auth)[ Docs](https://cjpg.dk/small-projects/phphttpauth/)[ RSS](/packages/cjpgdk-php-http-auth/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

php-http-auth
=============

[](#php-http-auth)

PHP Library to make use of HTTP Authentication

[![Build Status](https://camo.githubusercontent.com/b28c27e9ae1f6c0cee5f26fd1e3e6056e56691991f2d53fcb3942a147c8d5af0/68747470733a2f2f7472617669732d63692e6f72672f636a7067646b2f7068702d687474702d617574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cjpgdk/php-http-auth)[![Code Climate](https://camo.githubusercontent.com/6acc05680bd6d8d280808842db1e39d7891893a50e56fc8e972d663159684cd8/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f636a7067646b2f7068702d687474702d617574682f6261646765732f6770612e737667)](https://codeclimate.com/github/cjpgdk/php-http-auth)[![Issue Count](https://camo.githubusercontent.com/ddea38d620b92bc600cdbf9d9b1dfe1ebe8a9def1c36531ba18dc4cf78849196/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f636a7067646b2f7068702d687474702d617574682f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/cjpgdk/php-http-auth)

this project where created based on a different private project so decided to create a package that can handle http auth so i can reuse the code.

there are many other projects that can do this, so well here a new choice

LICENSE: MIT

usage see [docs](https://cjpgdk.github.io/php-http-auth/) and [tests](https://github.com/cjpgdk/php-http-auth/tree/master/tests) and [sample site](https://github.com/cjpgdk/php-http-auth/tree/master/sample-site)

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3327d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28824225?v=4)[Christian Jensen](/maintainers/cjpgdk)[@cjpgdk](https://github.com/cjpgdk)

---

Top Contributors

[![cjpgdk](https://avatars.githubusercontent.com/u/28824225?v=4)](https://github.com/cjpgdk "cjpgdk (11 commits)")

---

Tags

authhttp authauth basic

### Embed Badge

![Health badge](/badges/cjpgdk-php-http-auth/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k50.9M364](/packages/tymon-jwt-auth)[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k143.0M274](/packages/league-oauth2-server)[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k17.8M58](/packages/lab404-laravel-impersonate)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40921.3M85](/packages/auth0-auth0-php)[kreait/firebase-tokens

A library to work with Firebase tokens

23943.8M18](/packages/kreait-firebase-tokens)

PHPackages © 2026

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