NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #582 most downloaded on Packagist
HTTP transport PHP library for Elastic products
Latest stable
v9.0.1
Last release 1 months ago
22 Oct 2026
Release timing varies
gaps range from 8 days to 1.5 years
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
25 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
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.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix deprecation about str_getcsv() escape parameter #44
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 PHP clients.
Release created to be compatible with 8.2 Elastic PHP clients.
Release created to be compatible with 8.1 Elastic PHP clients.
Release created to be compatible with 8.1 Elastic PHP clients.
Support of psr/log v1, 2 and 3 to fix the dependency with elasticsearch/elasticsearch a413687
Support of psr/log v1, 2 and 3 to fix the dependency with elasticsearch/elasticsearch a413687
Finally, the 8.0.0 GA.
Finally, the 8.0.0 GA.
Added the TransportException to extends the Throwableinterface 57f0265
TransportException to extends the Throwableinterface 57f0265This RC3 release introduces the OnSuccessInterface and OnFailureInterface for managing the async code with the execution of a custom function during t
This RC3 release introduces the OnSuccessInterface and OnFailureInterface for managing the async code with the execution of a custom function during the return of OnSuccess and during the execution of OnFailure. As default behaviour the OnSuccessDefault and OnFailureDefault does not perform any operations.
This RC2 release uses httplug v2.3.0 to provide a full retry async mechanism, thanks to PR https://github.com/php-http/httplug/pull/168.
This RC2 release uses httplug v2.3.0 to provide a full retry async mechanism, thanks to PR https://github.com/php-http/httplug/pull/168.
This the first release candidate for 8.0.0 it contains some new features and changes with the previous 7.x Elastic PHP client.
This the first release candidate for 8.0.0 it contains some new features and changes with the previous 7.x Elastic PHP client.
ConnectionPool namespace has been renamed in NodePool, consequently all the Connection classes has been renamed in NodeHttpAsyncClient interface using Promise.Trasnport::sendAsyncRequest(RequestInterface $request): Promise to send a PSR-7 request using asynchronous requestTransport::setAsyncClient(HttpAsyncClient $asyncClient) and Transport::getAsyncClient() functions. If the PSR-18 client already implements the HttpAsyncClient interface you don't need to use the setAsyncClient() function, it will discovered automaticallyTransport::setRetries() function to specify the number of HTTP request retries to apply. If the HTTP failures exceed the number of retries the client generates a NoNodeAvailableExceptionRelease created to be compatible with 7.17 Elastic PHP clients.
Release created to be compatible with 7.17 Elastic PHP clients.
Release created to be compatible with 7.16 Elastic PHP clients.
Release created to be compatible with 7.16 Elastic PHP clients.
Release created to be compatible with 7.15 Elastic PHP clients.
Release created to be compatible with 7.15 Elastic PHP clients.
Release created to be compatible with 7.14 Elastic PHP clients.
Release created to be compatible with 7.14 Elastic PHP clients.
This is the first stable release! :tada: Release created to be compatible with 7.13 Elastic clients.
This is the first stable release! :tada: Release created to be compatible with 7.13 Elastic clients.
This is the first beta release for version 7.12.0.
This is the first beta release for version 7.12.0.
One column per quarter.