PHPackages                             carloscgo/shinobi - 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. carloscgo/shinobi

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

carloscgo/shinobi
=================

Laravel 5 Roles and Permissions

v3.2.4(7y ago)041MITPHPPHP &gt;=5.6.4

Since May 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/carloscgo/Shinobi)[ Packagist](https://packagist.org/packages/carloscgo/shinobi)[ RSS](/packages/carloscgo-shinobi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

CarlosCGO Shinobi
=================

[](#carloscgo-shinobi)

[![Laravel 5.5](https://camo.githubusercontent.com/232d618909dfd7f0bc8dbefecce911eb09e87dd73c4b1508e6b9641a2b9a1257/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e352d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Source](https://camo.githubusercontent.com/39ebb79811c317765d676dcd72780a745083afac9afe451819861d26ffa1d574/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6361726c6f7363676f2f7368696e6f62692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/carloscgo/shinobi)[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)

Shinobi brings a simple and light-weight role-based permissions system to Laravel's built in Auth system. Shinobi brings support for the following ACL structure:

- Every user can have zero or more roles.
- Every role can have zero or more permissions.

Permissions are then inherited to the user through the user's assigned roles.

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code. At the moment the package is not unit tested, but is planned to be covered later down the road.

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

[](#documentation)

You will find user friendly documentation in the wiki here: [CarlosCGO Shinobi Wiki](https://github.com/carloscgo/shinobi/wiki)

Quick Installation
------------------

[](#quick-installation)

Begin by installing the package through Composer. The best way to do this is through your terminal via Composer itself:

```
composer require carloscgo/shinobi

```

Once this operation is complete, simply add the service provider to your project's `config/app.php` file and run the provided migrations against your database.

### Service Provider

[](#service-provider)

```
CarlosCGO\Shinobi\ShinobiServiceProvider::class
```

### Migrations

[](#migrations)

You'll need to run the provided migrations against your database. Publish the migration files using the `vendor:publish` Artisan command and run `migrate`:

```
php artisan vendor:publish
php artisan migrate

```

Awesome Shinobi
---------------

[](#awesome-shinobi)

See what the awesome community behind Shinobi has built. Created something you'd like added? Send a pull-request or open an issue!

### Open Source

[](#open-source)

- [The Watchtower](https://github.com/SmarchSoftware/watchtower) - A front-end (GUI) package.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

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 ~10 days

Total

5

Last Release

2874d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27ebfa2653770ec6750c12b9e64347c5c1a2180010020ff04fa1577b60053111?d=identicon)[carloscgo](/maintainers/carloscgo)

---

Top Contributors

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

---

Tags

laravelauthrolespermissionsshinobicarloscgo

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/carloscgo-shinobi/health.svg)

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

###  Alternatives

[phpzen/laravel-rbac

Role based access control for Laravel 5

383.2k](/packages/phpzen-laravel-rbac)

PHPackages © 2026

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