jolicode/elastically
jolicode/elastically is an elegant Elasticsearch client for PHP. It simplifies index management, document indexing, and query building with a fluent API, making search integration cleaner and more maintainable in Symfony and other PHP applications.
For executives: This is a small, MIT-licensed, actively maintained library that lets us stand up search capabilities with less custom code and lower long-term maintenance cost. It doesn't add vendor lock-in beyond Elasticsearch itself, which we'd be choosing independently. The trade-off is modest community size and an adaptation step if we're on Laravel rather than Symfony — both bounded and estimable.
For engineering: It's a configuration layer over Elastica/Elasticsearch PHP. We declare index mappings, settings, and population sources in config, and get alias-based reindexing for zero-downtime index swaps. It fits naturally into a Symfony codebase; for Laravel we'd wrap or adapt the index-building pieces and keep our own service-provider glue. Recommend a short spike to size that adaptation and confirm it beats raw Elastica or Laravel Scout on our actual use case before committing.
Recommendation: Run a time-boxed spike on one real search use case. Approve if the config-driven index lifecycle saves meaningful custom code and the Laravel/Symfony gap is small; otherwise default to Scout or raw Elastica and revisit when search complexity grows.
How can I help you explore Laravel packages today?