Download the PHP package z3d0x/filament-simple-permissions without Composer
On this page you can find all versions of the php package z3d0x/filament-simple-permissions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download z3d0x/filament-simple-permissions
More information about z3d0x/filament-simple-permissions
Files in z3d0x/filament-simple-permissions
Package filament-simple-permissions
Short Description Simply define the permissions in the filament resource.
License MIT
Homepage https://github.com/z3d0x/filament-simple-permissions
Informations about the package filament-simple-permissions
[!WARNING] This package is no longer maintained
Simply define the permissions in the filament resource.
Easily define permissions for Filament Resources & Relation Managers
Installation
You can install the package via composer:
This package does not require any additional configuration after installation
Usage
This package comes with two traits HasResourcePermissions
and HasRelationManagerPermissions
, which can be used in Filament's Resources and RelationManagers respectively.
To use simply use the trait in your Resource/RelationManger and define your permissions.
Resource Example
RelationManager Example
Advanced Usage
For advanced usage, it is possible to define a static getPermissions()
method, instead of $permissions
property
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
- Ziyaan Hassan
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-simple-permissions with dependencies
filament/filament Version ^2.10
illuminate/contracts Version ^8.0|^9.0|^10.0
spatie/laravel-package-tools Version ^1.9.2