PHPackages                             macromindonline/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. macromindonline/roles

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

macromindonline/roles
=====================

Powerful package for handling roles and permissions in Laravel 5.3.

v2.2.2(8y ago)013MITPHPPHP &gt;=5.6.4

Since Sep 2Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (23)Used By (0)

Roles for Laravel 5.4
=====================

[](#roles-for-laravel-54)

[![Join the chat at https://gitter.im/httpoz-roles/Lobby](https://camo.githubusercontent.com/c5e7decf905e84fae995fa36e549825ec2eb6fcacdbe2b9924426547dbd6673a/68747470733a2f2f6261646765732e6769747465722e696d2f687474706f7a2d726f6c65732f4c6f6262792e737667)](https://gitter.im/httpoz-roles/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\*\*\* Notice For Laravel 5.3 users please use [Roles 1.4](https://github.com/httpoz/roles/tree/1.4)

[![Build Status](https://camo.githubusercontent.com/ae9a7f8009f1a037a9b5f2aa0df99093ed7db430fc81572a5e7c1b3acc861eeb/68747470733a2f2f7472617669732d63692e6f72672f687474706f7a2f726f6c65732e737667)](https://travis-ci.org/httpoz/roles)[![Total Downloads](https://camo.githubusercontent.com/41112de6168a2fb40a7b4901215890faa44ead147e900d70048ba1c6cb9e7694/68747470733a2f2f706f7365722e707567782e6f72672f687474706f7a2f726f6c65732f642f746f74616c2e737667)](https://packagist.org/packages/httpoz/roles)[![PHPPackages Rank](https://camo.githubusercontent.com/060a8bed2460c664564a2b14517c967b09cde24eb9dbcacd6ab9fb63799b3836/687474703a2f2f7068707061636b616765732e6f72672f702f687474706f7a2f726f6c65732f62616467652f72616e6b2e737667)](http://phppackages.org/p/httpoz/roles)[![PHPPackages Referenced By](https://camo.githubusercontent.com/07be85cd3995bf8c2ef86103bf3b8bc97817ab6d850af81fd4f1cbc53521bc4d/687474703a2f2f7068707061636b616765732e6f72672f702f687474706f7a2f726f6c65732f62616467652f7265666572656e6365642d62792e737667)](http://phppackages.org/p/httpoz/roles)[![Latest Stable Version](https://camo.githubusercontent.com/b064c846ace19cdd6654c8fa76f9efd21e6235cf239be7346018a76778de3fb3/68747470733a2f2f706f7365722e707567782e6f72672f687474706f7a2f726f6c65732f762f737461626c652e737667)](https://packagist.org/packages/httpoz/roles)[![Latest Unstable Version](https://camo.githubusercontent.com/009e0224e76d09128353b0509eeea3534754ea756973bb7df436d354290955bd/68747470733a2f2f706f7365722e707567782e6f72672f687474706f7a2f726f6c65732f762f756e737461626c652e737667)](https://packagist.org/packages/httpoz/roles)[![License](https://camo.githubusercontent.com/cf4b45e75033bd5e24fcdf29087872c3ca20213378ea4dc8aaf3bdfdcaf1de38/68747470733a2f2f706f7365722e707567782e6f72672f687474706f7a2f726f6c65732f6c6963656e73652e737667)](https://packagist.org/packages/httpoz/roles)[![SensioLabsInsight](https://camo.githubusercontent.com/4d0119e6d0c5f3758080c117ad9396ff71924c0c7a46b93b003d6d516ce65d99/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f33303766383962662d353262312d346432652d396136322d3335306431663564653134312f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/307f89bf-52b1-4d2e-9a62-350d1f5de141)

Powerful package for handling roles in Laravel

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

[](#documentation)

You can find the [documentation here.](https://httpoz.github.io/roles/)

#### History

[](#history)

This project was largely inspired by Roman's [romanbican/roles](https://github.com/romanbican/roles/) Laravel package. However at the time Laravel 5.3 was released his package was not actively maintained. I have ommitted permissions in this package in favour of Laravel's [Authorization](https://laravel.com/docs/5.3/authorization). I intend to keep this package as simple and minimal as is possible.

More Information
----------------

[](#more-information)

For more information, please have a look at [HasRole](https://github.com/httpoz/roles/blob/master/src/Contracts/HasRole.php) contract.

License
-------

[](#license)

This package is free software distributed under the terms of the MIT license.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 86.1% 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 ~15 days

Recently: every ~22 days

Total

21

Last Release

3234d ago

Major Versions

v1.4.1 → v2.0.02017-01-27

1.4.x-dev → v2.1.02017-04-03

### Community

Maintainers

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

---

Top Contributors

[![httpoz](https://avatars.githubusercontent.com/u/6069839?v=4)](https://github.com/httpoz "httpoz (105 commits)")[![nikolaynesov](https://avatars.githubusercontent.com/u/17743574?v=4)](https://github.com/nikolaynesov "nikolaynesov (5 commits)")[![cjmaxik](https://avatars.githubusercontent.com/u/1501705?v=4)](https://github.com/cjmaxik "cjmaxik (4 commits)")[![smartameer](https://avatars.githubusercontent.com/u/5998873?v=4)](https://github.com/smartameer "smartameer (2 commits)")[![jadonbrownza](https://avatars.githubusercontent.com/u/7773361?v=4)](https://github.com/jadonbrownza "jadonbrownza (2 commits)")[![MeiRct](https://avatars.githubusercontent.com/u/11060682?v=4)](https://github.com/MeiRct "MeiRct (1 commits)")[![kamihouse](https://avatars.githubusercontent.com/u/892340?v=4)](https://github.com/kamihouse "kamihouse (1 commits)")[![shuxx](https://avatars.githubusercontent.com/u/1872781?v=4)](https://github.com/shuxx "shuxx (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

laravelaclrolespermissionsilluminatehttpoz

### Embed Badge

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

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

###  Alternatives

[httpoz/roles

Powerful package for handling roles and permissions in Laravel

107110.9k](/packages/httpoz-roles)[geniusts/roles

Powerful package for handling roles and permissions in Laravel 6

6416.6k](/packages/geniusts-roles)

PHPackages © 2026

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