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

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

shortcodes/roles
================

The package allows to managing roles and assigning them to users

1.0.8(6y ago)1333mitPHPPHP &gt;=7.0.0

Since Feb 19Pushed 6y agoCompare

[ Source](https://github.com/shortcodes/roles)[ Packagist](https://packagist.org/packages/shortcodes/roles)[ RSS](/packages/shortcodes-roles/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)DependenciesVersions (10)Used By (0)

roles
=====

[](#roles)

The package allows to adding and deleting roles and assigning those roles to users.

.env
====

[](#env)

To set some email as admin you have to put this vairable to your *.env* file. Use comma to set many emails.

```
APP_ADMINS=example@email.com

```

Publish
=======

[](#publish)

To publish all assets and configs you simple need to run

```
php artisan vendor:publish --provider="Shortcodes\Roles-package\RolesPackageProvider"

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~47 days

Recently: every ~95 days

Total

9

Last Release

2261d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30219536?v=4)[Roman Szymański](/maintainers/shortcodes)[@shortcodes](https://github.com/shortcodes)

---

Top Contributors

[![shortcodes](https://avatars.githubusercontent.com/u/30219536?v=4)](https://github.com/shortcodes "shortcodes (9 commits)")

### Embed Badge

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

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

###  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)
