Download the PHP package wnikk/laravel-access-rules without Composer
On this page you can find all versions of the php package wnikk/laravel-access-rules. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wnikk/laravel-access-rules
More information about wnikk/laravel-access-rules
Files in wnikk/laravel-access-rules
Package laravel-access-rules
Short Description Simple system of ACR (access control rules) for Laravel, with roles, groups, unlimited inheritance and possibility of multiplayer use.
License MIT
Homepage https://github.com/wnikk/laravel-access-rules
Informations about the package laravel-access-rules
Access Control Rules (Laravel Permissions Package)
What does Access Control Rules support?
- Multiple user models.
- Multiple permissions can be attached to users.
- Multiple permissions can be attached to groups.
- Permissions verification.
- Permissions caching.
- Events when permissions are attached, detached or synced.
- Multiple permissions can be attached to user or group.
- Permissions can be inherited with unlimited investment from users and groups.
- Laravel gates and policies.
Visual Interface
The visual interface for managing access control rules and permissions can be found at this link. It offers an intuitive and user-friendly environment for administrators to define roles, assign permissions, and configure access rules.
For detailed usage examples and instructions, refer to the example repository.
Documentation, Installation, and Usage Instructions
See the documentation for detailed installation and usage instructions.
You can install the package using composer:
See the installation page for detailed.
What It Does
This package allows you to manage user permissions and groups (instead roles) in a database.
Once installed you can do stuff like this:
Or you can inherit the rights from another user or groups
Because all permissions will be registered on Laravel's gate, you can check if a user has a permission with Laravel's default can
function:
Or without model:
Examples of how can be used in more detail described in Basic Usage section.
Opening an Issue
Before opening an issue there are a couple of considerations:
- You are all awesome!
- Pull requests are more than welcome.
- Read the instructions and make sure all steps were followed correctly.
- Check that the issue is not specific to your development environment setup.
- Provide duplication steps.
- Attempt to look into the issue, and if you have a solution, make a pull request.
- Show that you have made an attempt to look into the issue.
- Check to see if the issue you are reporting is a duplicate of a previous reported issue.
- Following these instructions show me that you have tried.
- Please be considerate that this is an open source project that I provide to the community for FREE when opening an issue.
Alternatives
- spatie/laravel-permission takes a slightly different approach to its features.
- ultraware/roles It not supported and transferred to archive.
- santigarcor/laratrust implements team support.
- zizaco/entrust offers some wildcard pattern matching.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-access-rules with dependencies
illuminate/auth Version ^8.0|^9.0|^10.0|^11.0
illuminate/container Version ^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0
illuminate/cache Version ^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0