Download the PHP package mimaxuz/role-manager without Composer
On this page you can find all versions of the php package mimaxuz/role-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mimaxuz/role-manager
More information about mimaxuz/role-manager
Files in mimaxuz/role-manager
Package role-manager
Short Description Simple Laravel roles and permissions for Laravel applications
License MIT
Homepage https://github.com/MIMAXUZ/role-manager
Informations about the package role-manager
Simple Role Manager
An easy and flexible Laravel authorization and roles permission management
About
In many projects, you have to work with roles and permissions. Many packages are large and not all features are needed. That’s why I tried to create a small but effective package for projects. This package can be attached to any project. Convenient and efficient. It is very easy to use and can be used after installation.
Installation
However, if you are not using Homestead, you will need to make sure your server meets the following requirements:
- PHP >= 7.2.5
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
Install package via
After that, you need to run the migration files:
How to use package migrations
This package includes the following tables. All tables have a relational line, and the relationships are in cascade.
How to activate package ?
This package contains traits and must be activated within the model. To do this, follow the steps below.
- Open Model and Copy the following codes
Assign a route to a role
Besides middleware and other route settings, you can use a role
key in your route groups to assign a role to your routes.
You can use route groups as follows.
How to use roles inside Blade
?
If you want to use it in Blade Templates
, use the following.
Conclusion
This package may have issuses and bugs. Don't forget to report if an error or problem occurs!
License
Standt MIT License
All versions of role-manager with dependencies
illuminate/auth Version ^v7.0|^v8.0|^v9.0|^10.0|^11.0
illuminate/database Version ^v8.0.0|^v9.0.0|^9.22.1|^10.0|^11.0