mailerlite/laravel-elasticsearch
A Laravel wrapper for Elasticsearch that makes indexing and searching Eloquent models simple, with a fluent query builder, customizable index mapping, and support for multiple Elasticsearch connections.
mailerlite/laravel-elasticsearch 12.0.0. This is the decision that matters: if your platform roadmap includes an Elasticsearch 7 → 8 upgrade (or you're provisioning new clusters), this package version is what unblocks it. Without ES8-capable client support, ES8 adoption would require either a fork, swapping packages, or holding your cluster on a version that is past end-of-life.11.3.0 → 12.0.0) driven by a dependency major. Treat it as a scheduled upgrade project, not a composer update. Budget for regression testing of existing index/query code and for connection-config changes (ES8 defaults to TLS + auth, which breaks naive local/dev configs).Adopt when:
LIKE and database full-text indexes can reasonably do.Look elsewhere or re-evaluate when:
Verification items before committing: confirm the supported Elasticsearch/PHP/Laravel version matrix, whether ES7 is dropped, and whether the package's test suite actually runs against a live ES8 cluster.
For executives (one paragraph): Our Laravel search integration now supports Elasticsearch 8. This removes a blocker on our search infrastructure roadmap — we can upgrade clusters to a supported version instead of staying on an end-of-life release, which reduces security and support risk. It requires a planned upgrade rather than an automatic update: it's a major version change, so we should schedule a short migration with regression testing. No new product features ship with this release; the value is keeping our search stack current and unblocked, at effectively zero incremental licensing cost.
For engineering (the operational ask): Version 12.0.0 is a major bump whose substantive change is Elasticsearch 8 support via the underlying official client; the rest is dependency and CI housekeeping. Plan the upgrade as a tracked migration: audit current index/query usage, adjust connection config for ES8's TLS-and-auth-by-default posture, run the suite against a real ES8 cluster, and stage a rollback path. Confirm the ES7 support status and the Laravel/PHP compatibility matrix before we commit. Sequenced correctly, this is a contained infrastructure upgrade that buys us ES8's vector/kNN capabilities for future search work.
How can I help you explore Laravel packages today?