Hi everyone,
I want to share my new package which allows to define within policies methods for building lists of allowed Eloquent models by directly adding filters to an Eloquent Builder.
In this way you can organize the listing filters just within the policies and then recall them simply by chaining the acl()
method in your query.
The package is compatible with Laravel 5.5+ (Laravel 6 included) and it is fully tested.
https://github.com/gecche/laravel-policy-builder
Suggestions and comments are welcome!
Thank you! :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community