runroom/fos-elastica-bundle
A maintained fork of FOSElasticaBundle that integrates Elasticsearch into Symfony apps via the Elastica PHP client. Define indexes and mappings, auto-index Doctrine entities through listeners, and query results with a repository-style finder supporting pagination and aggregations.
fos:elastica:populate bulk-indexing command, Doctrine ORM/ODM listeners that keep indexes in sync on entity changes, finder/repository abstractions, and Pagerfanta-backed pagination. The decision it informs is whether your team writes that plumbing (typically 2–4 engineer-weeks plus ongoing tuning) or inherits it.elasticsearch-php client / a managed search service. This package only makes sense as the middle option, and only with an exit date.Caveat to verify before deciding: the metadata is internally inconsistent — archived, yet a release dated 2025-08-06, with 0 stars and 0 dependents. That pattern usually means a mirror/private fork or incomplete registry data, not a genuinely unused library (the upstream FOSElasticaBundle was widely adopted for years). Treat the score (0) and opportunity (15.83) as low-confidence until someone confirms the live repo state, commit cadence, and open-issue responsiveness.
Consider it when:
Look elsewhere when:
elasticsearch-php (official), ongr/elasticsearch-bundle, or a hosted search product are actively maintained.To executives: This is not a purchase — it's a maintenance liability with a head start attached. It provides proven, pre-built Elasticsearch plumbing for Symfony (index configuration, bulk population, automatic sync with our database), which could compress a search feature by several weeks. The trade-off is explicit: the package is archived, with no visible community (0 stars, 0 dependents), meaning no upstream fixes, no security patches, and no support — we would own it. My recommendation is to approve it only as a time-boxed bridge with a named owner and a documented exit plan, not as a permanent foundation. The alternative is paying that same cost up front to build on the officially maintained client.
To engineering: You get declarative index mapping, fos:elastica:populate, Doctrine listeners for automatic reindexing, finders, and pagination out of the box — roughly 2–4 weeks of plumbing you don't write. In exchange: pin your dependencies hard, treat upgrades to PHP/Symfony/Elasticsearch as our work, and don't let it become load-bearing without an owner and a migration ticket.
The ask: A one-to-two sprint spike — validate against our target Elasticsearch version, confirm the repo's real state (the metadata looks like a mirror artifact), and return a build-vs-borrow recommendation with a costed exit path.
How can I help you explore Laravel packages today?