elasticsearch/elasticsearch-transport-thrift
Legacy PHP transport for the Elasticsearch client that communicates with Elasticsearch over Apache Thrift, providing an alternative binary protocol for high-throughput indexing and search in Elasticsearch PHP applications.
composer.json is a hard signal of unmaintained infrastructure. It feeds directly into a "what's our exposure?" inventory before a security review, SOC 2 audit, or PHP/Laravel major-version upgrade.Consider it only in the narrow case of maintaining an existing Laravel/PHP application that is already pinned to a pre-5.x Elasticsearch cluster and already uses this transport, where the transport is genuinely working and the immediate goal is a bug fix or a PHP runtime bump with zero tolerance for behavioural change. Even then, the correct framing is "bridge, not destination" — you adopt it only to buy time while a migration is scoped, and you should expect no upstream fixes.
In practice, for any decision that involves choosing something, the answer is no. Look elsewhere when:
elasticsearch/elasticsearch client over HTTP, or Laravel Scout with an Elasticsearch/OpenSearch driver. These are maintained, documented, and supported against current server versions.To executives: This is a small, archived PHP library that was once an optional connector between our Laravel application and Elasticsearch. It has been officially discontinued, has no maintainer, and receives no security fixes. It is not a product capability — it is plumbing. The decision it drives is simple: if it's in our codebase, it's debt to remove, and we should budget a short migration rather than fund any work on top of it. If it isn't in our codebase, the recommendation is to keep it that way and standardize on the officially supported client. There is no revenue upside to keeping it and a small but real reliability and audit exposure to leaving it in place.
To engineering: Do not adopt. Treat any occurrence of elasticsearch/elasticsearch-transport-thrift as a marker that the search integration predates Elasticsearch 5.x, and scope the upgrade as a single piece of work: move the server to a supported version, swap to elasticsearch/elasticsearch with the HTTP handler, and remove the Thrift dependency. Expect the migration to touch index mappings and query construction, not just the transport — budget accordingly. The performance argument for Thrift is no longer valid; keep-alive and connection pooling on HTTP cover the realistic workloads. Set a dependency policy that flags archived packages at review time so the next one is caught before it ships.
How can I help you explore Laravel packages today?