PHPackages                             pg/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. [Security](/categories/security)
4. /
5. pg/http-auth

AbandonedArchivedLibrary[Security](/categories/security)

pg/http-auth
============

Extension for Nette Framework: set presenters names to secure and they will be secured via http authentification. IAuthenticator service is used for validating user credentials.

v1.1.2(7y ago)027MITPHP

Since Jan 20Pushed 7y agoCompare

[ Source](https://github.com/pavelgajdos/http-auth)[ Packagist](https://packagist.org/packages/pg/http-auth)[ RSS](/packages/pg-http-auth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (6)Versions (9)Used By (0)

[![Build Status](https://camo.githubusercontent.com/c19bfbe278a2e7ca212dd3f29786cc1d6ed45213bad32753a855e18e83fe25e2/68747470733a2f2f7472617669732d63692e6f72672f75626c61626f6f2f73696d706c652d687474702d617574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ublaboo/simple-http-auth)[![Latest Stable Version](https://camo.githubusercontent.com/79eac5eaefecb7188c0d3e4a10c601e4dea977cee1e77cf651c90d7b233b9ae1/68747470733a2f2f706f7365722e707567782e6f72672f75626c61626f6f2f73696d706c652d687474702d617574682f762f737461626c65)](https://packagist.org/packages/ublaboo/simple-http-auth)[![License](https://camo.githubusercontent.com/627597f72b3ecb367e9da667527165794a3dcbdd65c58e9e9de71d32949b218f/68747470733a2f2f706f7365722e707567782e6f72672f75626c61626f6f2f73696d706c652d687474702d617574682f6c6963656e7365)](https://packagist.org/packages/ublaboo/simple-http-auth)[![Total Downloads](https://camo.githubusercontent.com/0a20e05d2c0c53334927d6390ab696a55b6d31c89d0f86e03b2f8e94d46defa7/68747470733a2f2f706f7365722e707567782e6f72672f75626c61626f6f2f73696d706c652d687474702d617574682f646f776e6c6f616473)](https://packagist.org/packages/ublaboo/simple-http-auth)[![Gitter](https://camo.githubusercontent.com/37b71e1ce183f4ee630f818196f982c56f4c223c1d829b4d6baa0c3a07fdcf9f/68747470733a2f2f696d672e736869656c64732e696f2f6769747465722f726f6f6d2f6e776a732f6e772e6a732e737667)](https://gitter.im/ublaboo/help)

HttpAuth
========

[](#httpauth)

1. Install via composer

```
composer require pg/http-auth
```

2. Register extension in `config.neon`:

```
extensions:
	httpAuth: PG\HttpAuth\DI\HttpAuthExtension
```

Do not forget to register IAuthenticator service.

3. Tell which presenters shoul be secured (in case no presenter name given, all presenters are secured). Format - `Module:Module:Presenter`:

```
simpleHttpAuth:
	presenters: [Front:Admin] # Secure presenter class App\FrontModule\Presenters\AdminPresenter
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~135 days

Recently: every ~171 days

Total

8

Last Release

2816d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/306074eb37093c96007e2b4b3bb923aa0d612861d46d47fd2409dcdffdf4a951?d=identicon)[pavelgajdos](/maintainers/pavelgajdos)

---

Top Contributors

[![paveljanda](https://avatars.githubusercontent.com/u/1488874?v=4)](https://github.com/paveljanda "paveljanda (27 commits)")[![pavelgajdos](https://avatars.githubusercontent.com/u/1135291?v=4)](https://github.com/pavelgajdos "pavelgajdos (5 commits)")[![RiKap](https://avatars.githubusercontent.com/u/6736715?v=4)](https://github.com/RiKap "RiKap (1 commits)")

---

Tags

securityextensionhttp auth

### Embed Badge

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

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

###  Alternatives

[spooner-web/be_secure_pw

You can set password conventions to force secure passwords for BE users.

10461.3k](/packages/spooner-web-be-secure-pw)[georgringer/noopener

Add rel="noopener noreferrer" to all external links

1535.1k](/packages/georgringer-noopener)[nepada/security-annotations

Security annotations for Nette presenters and components.

1113.3k1](/packages/nepada-security-annotations)

PHPackages © 2026

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