PHPackages                             soyhuce/laravel-fluent-policy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. soyhuce/laravel-fluent-policy

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

soyhuce/laravel-fluent-policy
=============================

Write fluent policies in Laravel

1.9.0(4mo ago)213.3k[4 PRs](https://github.com/Soyhuce/laravel-fluent-policy/pulls)MITPHPPHP ^8.3CI passing

Since Apr 29Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/Soyhuce/laravel-fluent-policy)[ Packagist](https://packagist.org/packages/soyhuce/laravel-fluent-policy)[ Docs](https://github.com/soyhuce/laravel-fluent-policy)[ GitHub Sponsors](https://github.com/soyhuce)[ RSS](/packages/soyhuce-laravel-fluent-policy/feed)WikiDiscussions main Synced yesterday

READMEChangelog (9)Dependencies (11)Versions (16)Used By (0)

Write fluent policies in Laravel
================================

[](#write-fluent-policies-in-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1f8f7ca8bd002141734be931a0d339223b50d12d4c3ec0c1c4b3827a06dee3eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f79687563652f6c61726176656c2d666c75656e742d706f6c6963792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/soyhuce/laravel-fluent-policy)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7beec736422599e7de0a8e675a800632966fa1a4a97fe4cfba38b8393105bd46/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f79687563652f6c61726176656c2d666c75656e742d706f6c6963792f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/soyhuce/laravel-fluent-policy/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8b592bcc13c294c3eca63a48c57a7aeb87d1efd7c2a186af27c60b5f32a6fc9b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f79687563652f6c61726176656c2d666c75656e742d706f6c6963792f7068702d63732d66697865722e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/soyhuce/laravel-fluent-policy/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![GitHub PHPStan Action Status](https://camo.githubusercontent.com/db2519769befce45f833121752d3636db346827904d1f7d33d409ddf790283f4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f79687563652f6c61726176656c2d666c75656e742d706f6c6963792f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d7068707374616e)](https://github.com/soyhuce/laravel-fluent-policy/actions?query=workflow%3APHPStan+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b17bd38dd1a623ece0a863760477492759b4e7bed308d25249afe7748399956e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f79687563652f6c61726176656c2d666c75656e742d706f6c6963792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/soyhuce/laravel-fluent-policy)

Write your policies fluently in Laravel.

```
