renoki-co/aws-elastic-client
A Laravel-friendly Elasticsearch client for AWS Elasticsearch Service that signs requests with AWS Signature Version 4, letting you authenticate using IAM credentials and use the standard Elasticsearch PHP client against your AWS domain without writing custom request-signing code.
elasticsearch-php and speaks standard query DSL, so queries remain portable to non-AWS clusters. That materially weakens the lock-in argument when comparing against proprietary search SaaS.Adopt when:
Look elsewhere when:
elasticsearch-php constraint against your cluster and client major versions before committing, and pin the version in composer.json.For executives: This is a small, focused open-source integration that lets us use AWS's managed search service directly from our existing Laravel codebase, authenticating through the IAM permissions we already manage. There is no new service to run, no proprietary query language, and search data and spend stay inside our AWS account. Integration cost is measured in days, not a sprint, and because the package is a thin layer over the standard Elasticsearch client, our queries remain portable and our exit cost is low — we could fork or replace it quickly if maintenance lapsed. The trade-off is a single-maintainer dependency; we judge that acceptable given the small surface area and the low cost of switching away.
For engineering: The package handles SigV4 request signing, credential and role resolution, and config-driven multi-connection setup around elasticsearch-php, so we do not hand-roll auth or deploy a signing proxy. Two things to action on upgrade to 1.3.0: it drops PHP 7.4 and requires PHP 8.1+, so confirm our runtime before updating, and it refreshes the Elasticsearch versions in CI, so verify our cluster and client major versions match the package's constraint and pin the version in composer.json. Keep queries in plain DSL rather than leaning on any wrapper-specific sugar, so we retain the portability that justifies the choice.
How can I help you explore Laravel packages today?