PHPackages                             laralum/roles - 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. laralum/roles

ActiveLibrary

laralum/roles
=============

Roles module for laralum

1.1.1(7y ago)12.8k3[1 PRs](https://github.com/Laralum/Roles/pulls)1MITPHP

Since Apr 18Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Laralum/Roles)[ Packagist](https://packagist.org/packages/laralum/roles)[ RSS](/packages/laralum-roles/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (1)Versions (12)Used By (1)

[![](https://avatars1.githubusercontent.com/u/22253051)](https://laralum.aitorriba.com)

Roles
=====

[](#roles)

[![StyleCI](https://camo.githubusercontent.com/563291ac8f643d4216a31213a9b15a0bd6ba005ad5a4b075a3beae85ba18209b/68747470733a2f2f7374796c6563692e696f2f7265706f732f38313435363730382f736869656c643f7374796c653d666c6174266272616e63683d6d6173746572)](https://styleci.io/repos/81456708)[![Laralum](https://camo.githubusercontent.com/e63474e3a9aa1f1ca4405899a735297970c04ebc31fb159fa85f16717f1eff97/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c74253230466f722d4c6172616c756d2d6f72616e67652e737667)](https://github.com/laralum)[![Downloads](https://camo.githubusercontent.com/394b5836aca3fba6b7f937fcb7713e101893f8baad5834443aaa25f94fcc996b/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616c756d2f726f6c65732f642f746f74616c2e737667)](https://github.com/laralum/Roles)[![License](https://camo.githubusercontent.com/1b3f2d807f4454d7a04a3afaedcbe5d545bffbcbf07ec8383d71ea1864ed3d9a/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616c756d2f726f6c65732f762f737461626c652e737667)](https://github.com/Laralum/Roles/releases)[![License](https://camo.githubusercontent.com/b3012e9679baf34fe57e17be5228a14138cecc07247bab6a470e44fd19bef394/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616c756d2f726f6c65732f6c6963656e73652e737667)](https://raw.githubusercontent.com/Laralum/Roles/master/LICENSE)

Description
-----------

[](#description)

This module allows to create roles and assign permissions to them. Furthermore with Users module you can assign these roles to users to assign multiple permissions easily.

Documentation
-------------

[](#documentation)

[![](https://camo.githubusercontent.com/903353ec8cab9bd6672ccec71218f3bd8ce73a0a4bb3891e161abbdd965285eb/687474703a2f2f692e696d6775722e636f6d2f3437576e4144642e706e67)](https://laralum.aitorriba.com/docs/roles)

License
-------

[](#license)

```
MIT License

Copyright (c) 2017 Laralum

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 58.7% 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 ~78 days

Recently: every ~128 days

Total

8

Last Release

2758d ago

### Community

Maintainers

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

---

Top Contributors

[![24aitor](https://avatars.githubusercontent.com/u/20477883?v=4)](https://github.com/24aitor "24aitor (27 commits)")[![ConsoleTVs](https://avatars.githubusercontent.com/u/6124435?v=4)](https://github.com/ConsoleTVs "ConsoleTVs (16 commits)")[![nexxai](https://avatars.githubusercontent.com/u/4316564?v=4)](https://github.com/nexxai "nexxai (3 commits)")

### Embed Badge

![Health badge](/badges/laralum-roles/health.svg)

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

PHPackages © 2026

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