Download the PHP package tiagolemosneitzke/filamentacl without Composer
On this page you can find all versions of the php package tiagolemosneitzke/filamentacl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tiagolemosneitzke/filamentacl
More information about tiagolemosneitzke/filamentacl
Files in tiagolemosneitzke/filamentacl
Package filamentacl
Short Description A flexible and lightweight Access Control List (ACL) plugin for managing user permissions and roles in Laravel applications
License MIT
Homepage https://github.com/tiagolemosneitzke-filament-acl/filamentacl
Informations about the package filamentacl
Filament ACL - Access Control List for Laravel
A flexible and lightweight Access Control List (ACL) plugin for managing user permissions and roles in Laravel applications using Filament.
Attention
This package doesn't work with Tenancy.
You can install the package via composer:
This will install the Filament ACL package along with its dependencies, including spatie/laravel-permission
.
After the installation, publish the migration and configuration files:
Run the migrations to create the necessary tables:
Add the HasRoles
trait to your User model:
Register the plugin in your Panel provider:
You can then install the Filament ACL package with the following command:
This will publish the config file.
Alternatively, you can publish only the config file with:
This is the contents of the published config file:
Also, you can publish manually all the files with:
Or you can publish the necessary files one by one
You don't need to publish all the files for the package work, but you need to publish the settings file and configuring correctly the Laravel Permissions Package.
In your UserResource
file, you should add the below code to edit and view the permission of the user:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Tiago Lemos Neitzke
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filamentacl with dependencies
spatie/laravel-package-tools Version ^1.15.0
spatie/laravel-permission Version ^6.9