m6web/elasticsearch-bundle
A Symfony bundle that integrates Elasticsearch into your application, providing services, configuration, and tooling to index and query documents through the official Elasticsearch PHP client. It simplifies client setup, connection management, and exposing search capabilities to your Symfony service...
elasticsearch-php client into a Symfony app (service definitions, connection config, DI, optional profiler collection), adopt the bundle and redirect that capacity to indexing design, relevance tuning, and search UX — the parts users actually feel.elasticsearch-php major version the bundle pins — verify this before committing, since the client's v8 rewrite was breaking.Look elsewhere when:
To executives: "This is a small MIT-licensed Symfony integration for Elasticsearch. It is plumbing, not product — but it removes one to two weeks of wiring and lets us put search on the roadmap sooner. Risk is low in the sense that it's easy to replace; support is also low, so we should treat it as a starter kit, budget for owning a fork if it goes stale, and not build a platform strategy on it."
To engineering: "Thin bundle around the official elasticsearch-php client — service wiring, config, profiler collector. Worth adopting if you're on Symfony and want the official client without inventing glue; it's roughly a day of work to replace with your own service definition if the maintenance signal bothers you. Check the client major version against our ES server first. Expect no abstraction — mapping, indexing, and query construction stay with us — and note it is Symfony-only, so it's a non-starter for our Laravel services."
Recommended decision framing: Time-boxed spike — adopt, verify ES version compatibility and profiler behavior, then record a fallback (vendor the bundle or inline the service definition) in the ADR. The opportunity is genuine and cheap; the dependency is not one to standardize on blindly.
How can I help you explore Laravel packages today?