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

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

lacuarta/shinobi-lacuarta
=========================

Laravel Roles and Permissions

5.3.2(3y ago)016MITPHPPHP ^6.0|^7.0|^8.0

Since Jun 12Pushed 3y agoCompare

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

READMEChangelog (4)Dependencies (3)Versions (45)Used By (0)

This package has been abandoned and is no longer maintained.
============================================================

[](#this-package-has-been-abandoned-and-is-no-longer-maintained)

I am unfortunately making the hard decision to archive this package. It's served many of us well over the years, but more and more I've been finding my time stretched thin. As such, I am not able to put in as much focus here in development, documentation, and everything else that goes along with maintaining an open-source package. I can't in good consience leave this as is when so many of you are still using and maybe running in to some issues with things.

As an alternative, I highly recommend Spatie's [laravel-permission](https://github.com/spatie/laravel-permission) package as a replacement. It's nearly a drop-in replacement as both Shinobi and laravel-permission hook in to Laravel's core policies system. The Spatie package is well maintained, has great documentation, and a plethora of configuration options.

If for any reason you'd like to continue or pick up where Shinobi has left off, please feel free to fork and do your thing ✌️ that's one of the beauty's of open-source.

Thank you for understanding, Kai

---

Caffeinated Shinobi
===================

[](#caffeinated-shinobi)

[![Source](https://camo.githubusercontent.com/564cfd04616843a77e783f8fce52f7b777f8b8de158e2007c6abfc07378b3eb1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6361666665696e617465642f7368696e6f62692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/caffeinated/shinobi)[![Latest Stable Version](https://camo.githubusercontent.com/be8b13f3745e562b584c7863fa209634aedd36b64b6d43bc502e18918bf5949f/68747470733a2f2f706f7365722e707567782e6f72672f6361666665696e617465642f7368696e6f62692f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/caffeinated/shinobi)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)[![Total Downloads](https://camo.githubusercontent.com/5a7b632705c94ea19605ef7f94857c553c013f38b986188fd98b0d62f089c8e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6361666665696e617465642f7368696e6f62692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caffeinated/shinobi)[![Travis (.org)](https://camo.githubusercontent.com/9690a1dc61724164160520a7c29890c6440870e6db7835f0ca02f450c7d8fb0b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6361666665696e617465642f7368696e6f62692e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/caffeinated/shinobi)

A simple and light-weight role-based permissions system for Laravel's Authorization Gate system. Originally developed for [FusionCMS](https://github.com/fusioncms/fusioncms), an open source content management system.

- Every user can have zero or more permissions.
- Every user can have zero or more roles.
- Every role can have zero or more permissions.
- Every role can have one of two special flags, `all-access` and `no-access`

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

[](#documentation)

You will find user friendly and updated documentation on the [Caffeinated website](https://caffeinatedpackages.com/guide/packages/shinobi.html).

Installation
------------

[](#installation)

Simply install the package through Composer. From here the package will automatically register its service provider and `Shinobi` facade.

```
composer require caffeinated/shinobi

```

### Config

[](#config)

To publish the config file, run the following:

```
php artisan vendor:publish --provider="Caffeinated\Shinobi\ShinobiServiceProvider" --tag="config"

```

Changelog
---------

[](#changelog)

You will find a complete changelog history within the [CHANGELOG](CHANGELOG.md) file.

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

[](#contributing)

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

Testing
-------

[](#testing)

Run tests with PHPUnit:

```
vendor/bin/phpunit
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Shea Lewis](https://github.com/kaidesu)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 78.9% 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 ~64 days

Recently: every ~250 days

Total

44

Last Release

1226d ago

Major Versions

v1.0.2 → v2.02015-06-13

v2.4.1 → v3.02016-08-23

v3.3 → v4.0.0-beta.12019-01-25

v3.4.0 → v4.0.12019-06-05

v4.3.0 → v5.0.02019-09-06

PHP version history (7 changes)v1.0.1PHP &gt;=5.4.0

v2.0PHP &gt;=5.5.9

v3.0PHP &gt;=5.6.4

v4.2.0PHP ^7.1.3

v5.0.0PHP ^7.2

5.3.0PHP ^8.0

5.3.1PHP ^6.0|^7.0|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/60fc33a1837fc69366546fd27a3105292c73c4af4e053879733114cc97b9680a?d=identicon)[superxerox](/maintainers/superxerox)

---

Top Contributors

[![kaidesu](https://avatars.githubusercontent.com/u/355659?v=4)](https://github.com/kaidesu "kaidesu (112 commits)")[![lacuarta](https://avatars.githubusercontent.com/u/51415812?v=4)](https://github.com/lacuarta "lacuarta (5 commits)")[![mgsmus](https://avatars.githubusercontent.com/u/543371?v=4)](https://github.com/mgsmus "mgsmus (4 commits)")[![bart](https://avatars.githubusercontent.com/u/5200235?v=4)](https://github.com/bart "bart (2 commits)")[![bretto36](https://avatars.githubusercontent.com/u/6217994?v=4)](https://github.com/bretto36 "bretto36 (2 commits)")[![landjea](https://avatars.githubusercontent.com/u/4738992?v=4)](https://github.com/landjea "landjea (2 commits)")[![gbrock](https://avatars.githubusercontent.com/u/4151394?v=4)](https://github.com/gbrock "gbrock (2 commits)")[![SergeyMiracle](https://avatars.githubusercontent.com/u/2399561?v=4)](https://github.com/SergeyMiracle "SergeyMiracle (1 commits)")[![Sierra-034](https://avatars.githubusercontent.com/u/21287747?v=4)](https://github.com/Sierra-034 "Sierra-034 (1 commits)")[![slzno](https://avatars.githubusercontent.com/u/44006503?v=4)](https://github.com/slzno "slzno (1 commits)")[![tariq86](https://avatars.githubusercontent.com/u/646561?v=4)](https://github.com/tariq86 "tariq86 (1 commits)")[![yajra](https://avatars.githubusercontent.com/u/2687997?v=4)](https://github.com/yajra "yajra (1 commits)")[![antoniopaisfernandes](https://avatars.githubusercontent.com/u/6171197?v=4)](https://github.com/antoniopaisfernandes "antoniopaisfernandes (1 commits)")[![zknulled](https://avatars.githubusercontent.com/u/17056601?v=4)](https://github.com/zknulled "zknulled (1 commits)")[![AxelanderK](https://avatars.githubusercontent.com/u/9843995?v=4)](https://github.com/AxelanderK "AxelanderK (1 commits)")[![chuckrincon](https://avatars.githubusercontent.com/u/16218846?v=4)](https://github.com/chuckrincon "chuckrincon (1 commits)")[![i6media](https://avatars.githubusercontent.com/u/14023039?v=4)](https://github.com/i6media "i6media (1 commits)")[![kaligari](https://avatars.githubusercontent.com/u/6985244?v=4)](https://github.com/kaligari "kaligari (1 commits)")[![pimlie](https://avatars.githubusercontent.com/u/1067403?v=4)](https://github.com/pimlie "pimlie (1 commits)")[![robburley](https://avatars.githubusercontent.com/u/8017920?v=4)](https://github.com/robburley "robburley (1 commits)")

---

Tags

laravelauthrolespermissionscaffeinatedshinobi

### Embed Badge

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

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

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