chrisreedio / filament-policy-generator
Generator Laravel Security Policies for Models/Resources
Fund package maintenance!
chrisreedio
Installs: 3 161
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
Requires
- php: ^8.2
- filament/filament: ^4.0
- spatie/laravel-package-tools: ^1.15.0
- touhidurabir/laravel-stub-generator: ^1.0
Requires (Dev)
- larastan/larastan: ^2|^3
- laravel/pint: ^1.13
- nunomaduro/collision: ^7.10|^8.0
- orchestra/testbench: ^8.22|^9.0|^10.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-arch: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1|^2
This package is auto-updated.
Last update: 2025-08-25 18:00:34 UTC
README
This package generates Laravel security policies based on FilamentPHP Resources.
Installation
You can install the package via composer:
composer require chrisreedio/filament-policy-generator
Usage
use ChrisReedIO\PolicyGenerator\PolicyGenerator; PolicyGenerator::generateAll();
OR
php artisan policies:generate {--overwrite}
Testing
composer test
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
License
The MIT License (MIT). Please see License File for more information.