2017 © Pedro Peláez
 

library shinobi

Laravel 5 Roles and Permissions

image

carloscgo/shinobi

Laravel 5 Roles and Permissions

  • Tuesday, June 26, 2018
  • by carloscgo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 130 % Grown

The README.md

CarlosCGO Shinobi

Laravel 5.5 Source License, (*1)

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:, (*2)

  • 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., (*3)

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., (*4)

Documentation

You will find user friendly documentation in the wiki here: CarlosCGO Shinobi Wiki, (*5)

Quick Installation

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

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., (*7)

Service Provider

CarlosCGO\Shinobi\ShinobiServiceProvider::class

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:, (*8)

php artisan vendor:publish
php artisan migrate

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!, (*9)

Open Source

The Versions

26/06 2018