ulff/elasticsearch-php-client-bundle
A Symfony bundle that integrates the official Elasticsearch PHP client, providing service configuration and convenient client access for building Elasticsearch-powered search features in Symfony applications.
Elasticsearch\Client as a Symfony service from a small YAML config block. If the alternative is "write ~50–100 lines of service definition and a factory," a PM should treat adopting this as a dependency decision, not a build-vs-buy decision. The real build-vs-buy question is above it: hosted search (Algolia, Typesense Cloud, OpenSearch managed) vs. self-hosted Elasticsearch vs. leaning on the database's full-text search.elasticsearch/elasticsearch client, or FOSElasticaBundle for the higher-level abstraction, already covers it.Consider it only when all of the following hold:
Look elsewhere when any of these are true:
FOSElasticaBundle if you want index mapping and populate commands. This bundle adds a layer with no payoff.One-line summary for executives: This is a small, MIT-licensed Symfony 3 helper that connects a PHP app to Elasticsearch 2.x — it saves a day of setup on a legacy stack and saves nothing on a modern one. It is not a search platform, and it is not maintained. Our recommendation is reuse for legacy, replace for anything new.
For the executive audience:
For engineering:
Elasticsearch\Client in the container. Read the whole thing before merging — it's a handful of files, and you should be the one who knows what it does, not the README.How can I help you explore Laravel packages today?