Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filterable Laravel Package

jurager/filterable

jurager/filterable adds reusable, declarative filtering to Laravel Eloquent models. Define allowed filters, apply them from request data, and keep complex query logic out of controllers for cleaner, safer APIs and admin listings.

View on GitHub
Deep Wiki
Context7

jurager/filterable brings declarative, request-driven filtering to Laravel Eloquent models. Add the Filterable trait, declare which attributes may be filtered, and incoming query parameters become safe, whitelisted query constraints—no more manual when() chains scattered through controllers.

  • Drop-in trait for any Eloquent model
  • Whitelisted filter keys to block unwanted column access
  • Automatic query-string to query-builder mapping
  • Custom per-filter methods for ranges, relations, and operators
  • Keeps controllers thin and filters composable
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console