PHPackages                             phroute/authentic - 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. phroute/authentic

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

phroute/authentic
=================

v0.9.0(11y ago)6451PHP

Since Apr 21Pushed 10y ago2 watchersCompare

[ Source](https://github.com/mrjgreen/authentic)[ Packagist](https://packagist.org/packages/phroute/authentic)[ RSS](/packages/phroute-authentic/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Authentic
=========

[](#authentic)

[![Build Status](https://camo.githubusercontent.com/a69b788c668f6d9d19e1b7e1c4c5ce54ff25e6ee2f35feac67f80fbf7fbe9b3f/68747470733a2f2f7472617669732d63692e6f72672f6d726a677265656e2f61757468656e7469632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mrjgreen/authentic)[![Coverage Status](https://camo.githubusercontent.com/61724c7f2bcd1bb51c88bd88baec37aa87d1c94c78492878810e35f85426f6dd/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6d726a677265656e2f61757468656e7469632e737667)](https://coveralls.io/r/mrjgreen/authentic)

Authentic is a simple, framwork agnostic authentication library, designed to be flexible and easy to integrate with any PHP project.

```
use Phroute\Authentic\Authenticator;

/**
 * Your application user repository
 * Implements:
 *    public function findById($id);
 *    public function findByLogin($login);
 *    public function registerUser(array $userDetails);
 */
$userRepository = new UserRepository();

$auth = new Authenticator($userRepository);
```

```
use Phroute\Authentic\Exception\AuthenticationException;

$credentials = array(
    'email'     => 'email@example.com',
    'password'  => 'pa55w0rd'
);

$rememberMe = true;

try
{
   $auth->authenticate($credentials, $rememberMe);
}catch(AuthenticationException $e)
{
  return false; // Nope...
}

// Aaaaand we're in...
return true;
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

4090d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3593b2ddeb932b3e7ac41221afd89becb377734b74416fcdb2114965c9f498a?d=identicon)[mrjgreen](/maintainers/mrjgreen)

---

Top Contributors

[![mrjgreen](https://avatars.githubusercontent.com/u/2183391?v=4)](https://github.com/mrjgreen "mrjgreen (34 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phroute-authentic/health.svg)

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

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[psecio/gatekeeper

A simple PHP authentication and authorization library

3612.2k1](/packages/psecio-gatekeeper)

PHPackages © 2026

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