integrated/solr-bundle
A Symfony bundle for integrating Apache Solr into PHP applications. It provides configuration and services for indexing content and running fast, scalable full-text search queries, helping teams add Solr-powered search with less boilerplate and tighter framework integration.
Consider it when all of the following hold:
Look elsewhere when:
To executives: This is an MIT-licensed integration library connecting a Symfony application to Apache Solr for index configuration and document indexing. It carries no licensing cost and is cheap to trial, but it has effectively zero adoption — no stars, no downstream dependents — so it belongs in the "prototype accelerant or code reference" bucket, not the "strategic dependency" bucket. The real cost of search is not this package; it is the operating burden of running Solr and the product investment in relevance, faceting, and search UX. Recommend a two-to-three week spike with a build/buy comparison against a managed provider as the required output. If search is worth funding, budget for forking and owning the integration; if it is not, the spike still produces a reusable schema and content-modeling spec. Note for Laravel shops: this is a Symfony bundle and is not a drop-in — the evaluation should pivot to Scout-based options.
To engineering: This is a thin Symfony layer over Solr covering index configuration and entity/document indexing. It does not cover query construction, relevance tuning, or operational tooling. Adopt it behind an internal SearchIndex / SearchQuery interface so swapping to a managed engine or hand-rolled client later is a contained change rather than a rewrite. Verify Doctrine version compatibility, Solr version support (8 vs. 9 schema differences), the transitive Solr client, and test coverage before committing; assume no upstream fixes are coming and plan to vendor the code. Wire indexing asynchronously through a queue or outbox — never in the request cycle — and instrument index lag as a first-class metric from day one. If the codebase is Laravel, stop here and evaluate Scout or Solarium instead; the cost of porting a Symfony bundle is not justified by what it provides. Set a kill criterion at the end of the spike: if the core indexing services cannot be instantiated without Symfony's container, abandon and go direct.
How can I help you explore Laravel packages today?