derafu/symfony-query-bundle
Symfony bundle that integrates derafu/query into Symfony applications. Provides easy service wiring and configuration to use query objects/patterns in your project. See derafu docs for setup, usage, and available options.
Adopt if:
Look Elsewhere if:
For Executives: "This bundle cuts 3–6 months of development time for SaaS query infrastructure by providing a battle-tested, Symfony-native solution for multi-tenant filtering, sorting, and pagination. It’s like ‘Turbo’ for your data layer—reducing technical debt while enabling faster feature delivery for tenant-specific APIs. Low risk (MIT license, active maintainer), high ROI for platforms scaling beyond basic CRUD."
For Engineering:
"Derafu’s Query Bundle replaces repetitive Doctrine queries with a declarative, reusable API for complex filtering (e.g., ?filter[active]=true&sort=-createdAt). It integrates seamlessly with Symfony’s ecosystem, supports soft-deletes, and plays well with API Platform or Mercure for real-time updates. Tradeoff: Minimal upfront config for 80% of use cases, but may require customization for edge cases. Alternatives like API Platform’s filters are heavier; this is lighter and more focused."
For Developers:
*"No more writing the same createQueryBuilder() logic in every controller. This bundle gives you:
QueryBuilder helpers for common operations (e.g., addTenantFilter(), addPagination()).?search=term → WHERE name LIKE '%term%').How can I help you explore Laravel packages today?