PHPackages                             humble/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. humble/auth

ActiveLibrary

humble/auth
===========

HUMBLE Auth

011PHP

Since Oct 17Pushed 9y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

humble-auth
===========

[](#humble-auth)

[![Latest Version](https://camo.githubusercontent.com/8f27c9f8e9e0b4e4410f8a6e8cecb1b96be926d6047854b2b9c7d8fd64037c9f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f68756d626c657068702f68756d626c652d617574682e737667)](https://github.com/humblephp/humble-auth/releases)[![Software License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d0ff3e9a446d69893f60e6c559a8c0437d6f95ab2cd8dedba6e7cc0ecf2f2c92/68747470733a2f2f6170692e7472617669732d63692e6f72672f68756d626c657068702f68756d626c652d617574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/humblephp/humble-auth)

HUMBLE Auth

Install
-------

[](#install)

Via Composer

```
$ composer require humble/auth
```

Usage
-----

[](#usage)

Get PHP Auth with Pdo Adapter.

```
$adapter = new \Humble\Auth\PdoAdapter($pdo);
$auth = new \Humble\Auth\Auth($adapter, $session);

```

Authenticate credentials.

```
$auth->authenticate([
    'username' => 'tester@test.com',
    'password' => 'secret'
]);

```

Get authenticated user data.

```
$auth->get();

```

Remove authenticated user.

```
$auth->logout();

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b7f2440906b221ed621f106dca65931a0d2de3516a523782923fdf581da3f03?d=identicon)[arekwiertlewski](/maintainers/arekwiertlewski)

### Embed Badge

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

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

PHPackages © 2026

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