leapt/elastica-bundle
Symfony bundle that integrates Elasticsearch into your app through the Elastica client. It handles index configuration and mapping, automatic persistence of Doctrine entities, and repository-style search, giving you a convenient service layer for indexing and querying documents.
Consider it only in one narrow case: a legacy Symfony application already running it in production, where the Elasticsearch cluster version is intentionally frozen, the search surface is non-critical (internal users, low query volume), and no PHP or Symfony upgrade is planned within the planning horizon. Even then, treat it as maintenance-only — pin the version, document the freeze, and add it to the dependency risk register.
Look elsewhere in every other case:
elasticsearch/elasticsearch client, or a first-party framework integration, so we are not two abstraction layers removed from upstream.To executives: We evaluated leapt/elastica-bundle as a candidate for search infrastructure and recommend against adoption. It is archived by its maintainer, has not shipped a release since January 2020, has one GitHub star and no downstream dependents. Adopting it would mean owning an abandoned abstraction layer over our search cluster, with no security patching and a hard ceiling on future Elasticsearch and Symfony upgrades. There is no cost savings to justify that risk — the maintained alternative is free and widely used.
To engineering: This is a Symfony bundle wrapping the Elastica PHP client — container configuration plus index management. It predates current Elasticsearch majors and is unmaintained. If it is already in our estate, scope a migration to FOSElasticaBundle (if we stay on Elastica) or the official Elasticsearch PHP client (if we want to reduce abstraction layers). Estimate the work as "remove a bundle, rewire service definitions, re-validate index mappings and query construction" rather than a rewrite of search itself. If we are evaluating search for the first time, skip this entirely and evaluate the official client or a managed search service.
Recommendation: No-go for new work. For existing usage, schedule migration and cap spend on it at maintenance only.
How can I help you explore Laravel packages today?