PHPackages                             lembarek/role - 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. lembarek/role

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

lembarek/role
=============

to add the roles system to laravel application

034PHP

Since Mar 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lembarek/role)[ Packagist](https://packagist.org/packages/lembarek/role)[ RSS](/packages/lembarek-role/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

role
====

[](#role)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2883c1ee59e89ddeef3752993a89ee876273c004a5bdd2862e46b8e79a206f8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656d626172656b2f726f6c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lembarek/role)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/dc7a90e901552ed0c83d31fdc6432ce4823a2d4cd871e2c270a299eeea143f06/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c656d626172656b2f726f6c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/lembarek/role)[![Coverage Status](https://camo.githubusercontent.com/35ca5ca8345b0e9502c5c8fdebbfbc79efd6622a23f66e6b6334977e430a3a52/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c656d626172656b2f726f6c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lembarek/role/code-structure)[![Quality Score](https://camo.githubusercontent.com/ddd3f6bcf7470eee502bc59b591574acc09f9670c2bb43323ca9c9eaf1ceb060/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c656d626172656b2f726f6c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lembarek/role)[![Total Downloads](https://camo.githubusercontent.com/3c0283add801742bf8af61f7c3d0770948082b60e79ed541d6a9a5b53beb22bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c656d626172656b2f726f6c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lembarek/role)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install
-------

[](#install)

Via Composer

```
$ composer require lembarek/role
```

Usage
-----

[](#usage)

```
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [benghezala lembarek](https://github.com/lembarek)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

role
====

[](#role-1)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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://www.gravatar.com/avatar/0f241091ff5c28ddd39382c70c195954df2df06223ebcee751eac13d6a3d3e6f?d=identicon)[lembarek](/maintainers/lembarek)

---

Top Contributors

[![lembarek](https://avatars.githubusercontent.com/u/11173926?v=4)](https://github.com/lembarek "lembarek (25 commits)")

### Embed Badge

![Health badge](/badges/lembarek-role/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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