n7olkachev/laravel-filterable
A lightweight Laravel package for filtering Eloquent models using request query parameters. Define allowed filters on your model, then let the package apply them automatically, keeping controllers clean and filter logic reusable.
$filterable property aligns with Laravel conventions for declarative allowlists and improves fit with existing Eloquent model configuration.$filterable definitions to affected models, and validate existing filter endpoints. The release note is sparse, so integration effort depends on whether v2.0.0 changes default filter behavior or requires the property to be present.v2.0.0) suggests possible breaking changes not fully described in the note. Key risk: existing filters may stop working, throw exceptions, or silently return different results if $filterable is absent or misconfigured.$filterable required or optional? What is the default behavior when it is not defined? Does v2.0.0 introduce breaking changes beyond the release note? Are there migration notes, deprecations, or updated documentation? Does the property support nested/relation filters, and how are denied filters handled—exception, ignore, or empty result?v2.0.0 as a major upgrade. Pin the current version, review the package changelog and upgrade guide, then update in a branch. Add explicit $filterable allowlists to every model/endpoint that exposes filtering before enabling the new version in production.$filterable.$filterable allowlists must be kept in sync with API contracts and product requirements. This is a net positive for security ownership but requires clear ownership of model-level filter configuration.$filterable definitions, overly broad allowlists, or mismatches between frontend/API filter names and model allowlists. If denied filters throw exceptions, poorly configured clients may generate 4xx/5xx noise. If denied filters are silently ignored, clients may receive incomplete data without clear feedback.How can I help you explore Laravel packages today?