Download the PHP package wilsonalencar/laravel-permission without Composer
On this page you can find all versions of the php package wilsonalencar/laravel-permission. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wilsonalencar/laravel-permission
More information about wilsonalencar/laravel-permission
Files in wilsonalencar/laravel-permission
Package laravel-permission
Short Description A Simple permission check to laravel.
License MIT
Homepage https://github.com/wilsonalencar/laravel-permission
Informations about the package laravel-permission
Laravel Permission
At the moment the package is not unit tested, but is planned to be covered later down the road.
Quick Installation
Begin by installing the package through Composer. The best way to do this is through your terminal via Composer itself:
Or add to you composer.json and run composer install.
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
in the providers array and
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
:
Using
1 - Add permission slug to permissions table. 2 - Add user and permission equivalent to permission_user table. 3 - Add Authorizable Trait to your User Model( Example above: Laravel 5.3).
4 - Check any method of your controller
All versions of laravel-permission with dependencies
illuminate/database Version 5.8.*
illuminate/support Version 5.8.*
illuminate/filesystem Version 5.8.*
illuminate/config Version 5.8.*