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

Api Filter Bundle Laravel Package

monterhealth/api-filter-bundle

MonterHealth ApiFilterBundle adds request-driven filtering to Doctrine queries in Symfony APIs. Declare allowed filters on entities, map query parameters automatically, and keep controllers clean while supporting flexible, validated search endpoints.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for list/search endpoints: Use the package to add REST API filtering and ordering to CRUD list endpoints without building a custom query-parameter parser from scratch.
  • Roadmap validation: Prototype consumer-facing filtering/sorting requirements quickly to decide whether query flexibility is worth investing in across the API.
  • Build vs. buy: Compare a small MIT-licensed bundle against in-house filter/order utilities. The package may reduce initial implementation effort, but low adoption means the buy decision should be treated as a time-boxed evaluation rather than a strategic platform bet.
  • API consistency: Standardize filter and sort conventions across services if the package's conventions fit the product's API style.
  • Use cases: Internal admin APIs, MVP backends, simple CRUD list views, and early-stage REST services where filtering by fields and ordering results are enough.

When to Consider This Package

  • Consider it when the backend is Symfony-based and the team needs basic REST API filtering/ordering with limited customization. Release 2.6.0 reinforces this: the changes are Symfony-internals work (DI config converted from XML to PHP, tagged service locator replaced with tagged_iterator), not framework-agnostic feature work. Laravel compatibility should still be verified before adoption.
  • Consider it for low-risk, internal, or prototype APIs where a small dependency can be wrapped behind an internal interface and covered with integration tests.
  • Consider it if the team can pin the version, review the source, and accept maintenance responsibility if upstream activity stalls. Pin to 2.6.x if running PHP 8.4, since this release explicitly fixes PHP >=8.4 deprecation notes.
  • Budget a short upgrade check if you are on 2.5.x: the DI configuration rewrite is internal but touches container wiring, so validate service resolution in a staging environment rather than treating it as a no-op patch bump.
  • Look elsewhere if the product needs advanced search: full-text search, nested/relationship filtering, boolean query composition, robust pagination, authorization-aware filtering, OpenAPI integration, or SLA-backed support.
  • Look elsewhere for production-critical Laravel APIs unless compatibility and maturity are proven. Weak adoption signals—9 stars and 0 dependents—mean the package should not be the sole foundation for a core API capability.
  • Treat the continued release cadence (2.5.1 → 2.6.0, with dependency-injection modernization and PHP 8.4 support) as a positive maintenance signal, but not a substitute for due diligence on code quality, test coverage, and framework fit. Note that 2.6.0 ships no new filtering or ordering capabilities, so it does not change the product's feature ceiling.

How to Pitch It (Stakeholders)

  • To executives: This is a small, MIT-licensed component that could accelerate delivery of basic API filtering and sorting. The latest release is housekeeping—dependency-injection modernization and PHP 8.4 compatibility—not a capability expansion, so it does not change the strategic picture. Approve a short spike to measure code savings and risk before committing.
  • To engineering: The package may save time on query-parameter parsing and ordering, but it has low external adoption and should be isolated behind an adapter, pinned, and tested. Version 2.6.0 shows the maintainer is actively modernizing internals (PHP-based DI config, tagged_iterator, PHP 8.4 fixes), which is a good sign for near-term upkeep; there are no announced breaking changes, but verify container wiring after upgrading. If it fails integration or maintenance checks, replacing it with in-house logic should be straightforward.
  • Recommendation: Run a time-boxed technical evaluation against real list endpoints. Adopt only if it clearly reduces custom code without creating framework lock-in or long-term maintenance risk.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
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
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core