New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

chrisreedio/filament-policy-generator

Generator Laravel Security Policies for Models/Resources
6,774
Install
composer require chrisreedio/filament-policy-generator
Latest Version:v4.2.0
PHP:^8.2
Laravel:11 · 12 · 13
Older releases:10
License:MIT
Last Updated:Jul 30, 2026
Links: GitHub  ·  Packagist
Maintainer: chrisreedio

Generator Laravel Security Policies for Models/Resources

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

Related Packages

chrisreedio/laravel-azure-graph

Provides an interface to the Azure Graph

6,490 1
chrisreedio/socialment-bastion-azure

Provides a Bridge between Socialment, Bastion, and Azure AD.

5,209 1
chrisreedio/api-amigo

API Quota Management and Analytics

2,197 1
chrisreedio/bastion

SSO Powered Access Control for Filament

6,255 3

Version History

Version Released PHP Laravel License
v4.2.0 ^8.2 ^11.28|^12.0|^13.0 MIT
v4.1.0 ^8.2 MIT
v3.1.0 ^8.2 MIT
v3.0.0 ^8.1 ^10.0 MIT
Pre-releases (1)
Version Released PHP License
v4.0.0-beta.1 ^8.2 MIT