uboratechno/shinobi

Roles and Permissions for laravel 6 - 10

v1.0 2023-05-19 17:45 UTC

This package is auto-updated.

Last update: 2025-06-19 22:58:21 UTC


README

Therefore we will keep your previous license. With some minor modifications, it works from laravel 6.0 onwards, for laravel less than version 6 use the original owner's package Source

Uboratechno Shinobi

Source Latest Stable Version Total Downloads

A simple and light-weight role-based permissions system for Laravel's Authorization Gate system. Originally developed for 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

Installation

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

composer require uboratechno/shinobi

Config

To publish the config file, run the following:

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

Changelog

You will find a complete changelog history within the CHANGELOG file.

Contributing

Please see CONTRIBUTING for details.

Testing

Run tests with PHPUnit:

vendor/bin/phpunit

Security

If you discover any security related issues, please email playbert.ronaldo@gmail.com & Uboratechno@gmail.com directly instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.