Download the PHP package awema-pl/module-permission without Composer
On this page you can find all versions of the php package awema-pl/module-permission. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download awema-pl/module-permission
More information about awema-pl/module-permission
Files in awema-pl/module-permission
Package module-permission
Short Description Module permission.
License MIT
Homepage https://github.com/awema-pl/module-permission
Informations about the package module-permission
Permission
PHP Roles & Permissions package. Take a look at contributing.md to see a to do list.
Installation
Via Composer
The package will automatically register itself.
You can publish migration with:
After migration has been published you can create tables by running:
You can publish package views:
Run seeder for roles and permissions tables:
Configuration
You can set up routes path and naming prefixes. First publish config:
Usage
Add to routes/web.php
Package will register several routes:
Add AwemaPL\Permission\Traits\HasRoles
trait to your User
model(s):
Testing
You can run the tests with:
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
- :author_name
- All Contributors
License
GNU General Public License v3.0. Please see the license file for more information.
All versions of module-permission with dependencies
awema-pl/module-indigo-layout Version dev-master
spatie/laravel-permission Version ^3.17
illuminate/support Version ~5|~6|~7|~8|~9