petkopara/multi-search-bundle
Symfony bundle that adds a Multi Search service and form type for Doctrine. Build a QueryBuilder to search across all or selected entity columns using a single term, with optional wildcard matching, and reuse it in your controllers or forms.
%term%) are inefficient for large datasets (millions of records). Use Elasticsearch or PostgreSQL full-text search instead.LIKE operations.Beberlei/DoctrineExtensions) for more flexible search syntax.Executives: "This bundle lets us add search functionality to [Product] in weeks, not months, by leveraging existing Symfony infrastructure. It’s a low-risk, low-cost way to improve user discoverability—ideal for internal tools or small-scale public features. We can validate demand before investing in a dedicated search solution. Think of it as a ‘search placeholder’ that grows with our needs."
Engineering: *"The bundle provides two integration paths:
petkopara_multi_search.builder into controllers to dynamically filter Doctrine queries (e.g., searchEntity($qb, 'AppBundle:Post', $term)).MultiSearchType in Symfony Forms for declarative search fields with options like search_fields (e.g., ['title', 'description']) and search_comparison_type (e.g., 'wildcard' or 'starts_with').Pros:
Cons:
Recommendation: Pilot this for [specific feature, e.g., ‘admin user search’] and measure query performance. If it meets needs, great; if not, we can sunset it in favor of a more scalable solution."*
How can I help you explore Laravel packages today?