NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #598 most downloaded on Packagist
HTTP transport PHP library for Elastic products
Last release 1 years ago
08 May 2025
Release timing varies
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 18 of 20 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
24 releases · first in 2021
One column per quarter.
Fixed a missing dependency of nyholm/psr7 , moved from require-dev to require .
Fixed a missing dependency of nyholm/psr7, moved from require-dev to require.
This is a new major release that includes the following change:
This is a new major release that includes the following change:
elastic-transport-php does not detect any installed PSR-18 clients. This client relies on the cURL php extension that must be installed. Moreover, this client does not implement the HttpAsyncClient interface, which means you won't be able to send asynchronous requests.If you need support for asynchronous requests, consider installing a PST-18 HTTP client like Guzzle:
composer require guzzlehttp/guzzlecomposer require symfony/http-clientWe introduced this change to remove the guzzle dependency in elasticsearch-php, as discussed here.
Other than that, no BC breaks have been introduced in the 9.0.0 release.
This release introduces the following changes and fixes:
This release introduces the following changes and fixes:
Node::getLastPing and Node::getFailedPings for custom NodePool implementations with ping backoffs #35NoNodeAvailableException for debugging #34getLastRequest() and getLastResponse() #33Added the support for OpenTelemetry
We introduced in #27 and 2be33cd the support of OpenTelemetry for the HTTP send request. At the moment, the support is only for synchronous HTTP call.
To enable the OpenTelemetry you need to set the ENV variable OTEL_PHP_INSTRUMENTATION_ELASTICSEARCH_ENABLED to true.
We added the support natively in the Transport:sendRequest() function. By default, the Transport create a span from a Tracer provider (e.g. Global) with the following attributes:
http.request.method
url.full
server.address
server.port
If the $request sent using Transport::sendRequest($request) is a PSR-7 ServerRequest we get the attribute with name otel-elastic-transport and we pass to the OTel span as additional attributes. In this way, libraries like elasticsearch-php can inject specific OTel attributes (e.g. db.operation.name).
We created an OpenTelemetry class to provide all the configuration.
This release contains the following new features:
This release contains the following new feature:
This release contains the following new feature:
This release contains the following new feature:
This release contains the following fix:
This release contains the following fix:
Release created to be compatible with 8.4 Elastic clients.
Release created to be compatible with 8.3 Elastic PHP clients.
Release created to be compatible with 8.3 Elastic PHP clients.
Release created to be compatible with 8.2 Elastic clients
Release created to be compatible with 8.1 Elastic clients
Support of psr/log v1, 2 and 3 to fix the dependency with elasticsearch/elasticsearch. a413687
psr/log v1, 2 and 3 to fix the dependency with elasticsearch/elasticsearch.
a413687Finally, the 8.0.0 GA.
Finally, the 8.0.0 GA.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Release created to be compatible with 7.16 Elastic clients
Release created to be compatible with 7.16 Elastic clients
Release created to be compatible with 7.15 Elastic clients
Release created to be compatible with 7.15 Elastic clients
Release created to be compatible with 7.14 Elastic clients
Release created to be compatible with 7.14 Elastic clients
Release created to be compatible with 7.13 Elastic clients
Release created to be compatible with 7.13 Elastic clients
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →