PHPackages                             johnathanmdell/identity - 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. johnathanmdell/identity

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

johnathanmdell/identity
=======================

RBAC Component

09PHP

Since Jul 7Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/1dcf2cac400d56c40dcdb3b035929ebdc41e11c9ed3457196c907df2493c4642/68747470733a2f2f7472617669732d63692e6f72672f6a6f686e617468616e6d64656c6c2f6964656e746974792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/johnathanmdell/identity)

identity
========

[](#identity)

A very basic RBAC component that allows you to provide your user's role permissions and then simply check if a user has permission to a page, action or whatever else you would want to check against.

```
$identity = new \JohnathanMDell\Identity\Identity([
    'route.true' => true,
    'route.false' => false,
]);

var_dump($identity->isGranted('route.true'));
// returns true

var_dump($identity->isGranted('route.false'));
// returns false

var_dump($identity->isGranted('route.notfound'));
// returns false

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1889981?v=4)[Johnathan Michael Dell](/maintainers/johnathanmdell)[@johnathanmdell](https://github.com/johnathanmdell)

---

Top Contributors

[![johnathanmdell](https://avatars.githubusercontent.com/u/1889981?v=4)](https://github.com/johnathanmdell "johnathanmdell (12 commits)")

### Embed Badge

![Health badge](/badges/johnathanmdell-identity/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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