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 Filters Laravel Package

tomodo531/filterable-filters

A Laravel package for reusable, request-driven Eloquent filters. tomodo531/filterable-filters helps you define filter classes and apply them consistently, keeping controllers and models clean while making complex filtering logic easier to organize, compose, and maintain.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for filterable list views. The package targets a recurring product need — turning query-string parameters into safe, composable Eloquent filters and sorts for admin tables, internal dashboards, reporting screens, and API list endpoints. It is useful as a specification of that feature's shape (filter whitelists, allowed sorts, request-to-query mapping) even if the code itself is never installed.
  • Build vs. buy vs. borrow. The realistic decision this informs is not "adopt" but "borrow the pattern." A 2-star package with zero dependents and no release since December 2022 (score 0.14) is a reference implementation, not a dependency. The PM decision is whether the filtering layer is a one-sprint in-house scope class, a maintained open-source dependency, or a vendored fork.
  • Roadmap sequencing. Filtering is table-stakes for self-serve analytics and operations tooling. If multiple surfaces are queuing the same "let users slice this list" request, that is a signal to standardize a filtering convention now rather than accreting bespoke if ($request->has(...)) blocks per controller.
  • Future filter-product bets. Saved filters, shareable views, faceted search, and permission-aware filtering all sit downstream of a clean filter abstraction. Choosing the abstraction (or deciding not to) constrains those bets.
  • Risk register input. Zero dependents means no ecosystem validation and no downstream bug reports; a 2022 release predates current Laravel/PHP versions. That is a procurement and security-review decision as much as a technical one.

When to Consider This Package

Consider it only under a narrow set of conditions:

  • You need straightforward query-string filtering on Eloquent models, your team is small, and you are explicitly willing to fork and own the code — vendor it, pin it, and accept maintenance.
  • The license is compatible with your distribution model and the code passes a security review (input validation, SQL injection surface, mass-assignment exposure).
  • You are on a Laravel/PHP version the 2022 release actually supports, or you have budgeted the upgrade work.
  • You want a compact, readable reference for designing your own filter objects rather than a runtime dependency.

Look elsewhere when:

  • The surface is public-facing or security-sensitive. An unmaintained dependency is an unpatched dependency.
  • You need SLAs, CVE response, or version compatibility guarantees.
  • Your team lacks spare capacity to own a fork; the "free" package becomes a hidden maintenance tax.
  • You are already on, or can adopt, a maintained incumbent such as spatie/laravel-query-builder, which carries the ecosystem validation this package does not (2 stars, 0 dependents).
  • A ~100-line in-house scope/filter class would cover your actual requirements — which, for most teams, it would.

How to Pitch It (Stakeholders)

For executives: This is a small, unmaintained open-source utility for a common feature — user-facing filtering and sorting of data lists. It is not a platform bet and carries no strategic upside. Its value is as a design reference: it tells us how cheaply the feature can be built in-house. Recommendation: do not adopt as a dependency; fund a short spike and build or buy a maintained equivalent. Cost is measured in days, not quarters.

For engineering: Read it, don't depend on it. The codebase is small enough to review in an afternoon and to fork if the pattern fits. Assess it against spatie/laravel-query-builder on filter ergonomics, allowed-field safety, and sort handling. If we proceed, we own the code: pin the version, add tests, document the filter contract, and confirm compatibility with our Laravel version. Any adoption requires a security review of request-to-query handling.

Bottom line: low cost, low risk, low reward — useful input to a build-vs-buy decision, not a component to ship on.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings