Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Transport Laravel Package

elastic/transport

PSR-7/17/18 HTTP transport library for Elastic PHP clients. Uses HTTPlug discovery for clients/factories and supports async via compatible PSR-18 clients (e.g., Guzzle, Symfony). Falls back to a built-in cURL client if none found.

View on GitHub
Deep Wiki
Context7
8.8.0
  • Support path in host connection URI #21

  • Support userInfo in host connection URI #22

8.7.0
  • Allow installation of psr/http-message v2.0 #17
8.6.0
  • Add full request and response to the log message context for better integration using Clockwork #13
8.5.0
  • Release created to be compatible with 8.5 Elastic clients
  • Fixed the full body message in debug() log for Transport #11
8.4.0
  • Release created to be compatible with 8.4 Elastic clients
  • Added meta header info for Symfony HTTP client #9
  • Added composer-runtime-api v2 for InstalledVersions #10
8.3.0
  • Release created to be compatible with 8.3 Elastic clients
8.2.0
  • Release created to be compatible with 8.2 Elastic clients
8.11.0
  • Added Node::getLastPing and Node::getFailedPings for custom NodePool implementations with ping backoffs #35
  • Add HTTP network exception as previous exception to NoNodeAvailableException for debugging #34
  • Fixed PHP 7.4+ issue - "must not be accessed before initialization" in getLastRequest() & getLastResponse() #33
  • Fixed missing response body with guzzle psr7 streams #30
8.10.0
  • Added the OpenTelemetry support #27
  • Refactored the OpenTelemetry using PSR-7 attributes 2be33cd
8.1.0
  • Release created to be compatible with 8.1 Elastic clients
8.0.1
  • Support of psr/log v1, 2 and 3 to fix the dependency with elasticsearch/elasticsearch. a413687
8.0.0-RC4

Added the TransportException to extends the Throwableinterface.

8.0.0-RC3

This RC3 release introduces the OnSuccessInterface and OnFailureInterface for manage 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.

8.0.0-RC2

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.

8.0.0-RC1

This is the first release candidate for 8.0.0 containing some new features and changes compared with the previous 7.x Elastic transport.

Changes

  • the ConnectionPool namespace has been renamed in NodePool, consequently all the Connection classes has been renamed in Node
  • the previous Apache 2.0 LICENSE has been changed in MIT

New features

  • added the usage of HTTPlug library to autodiscovery PSR-18 client and HttpAsyncClient interface using Promise.
  • added the Trasnport::sendAsyncRequest(RequestInterface $request): Promise to send a PSR-7 request using asynchronous request
  • added the Transport::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 automatically
  • added the Transport::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 NoNodeAvailableException
8.0.0

Finally, the 8.0.0 GA.

7.16.0

Release created to be compatible with 7.16 Elastic clients

7.15.0

Release created to be compatible with 7.15 Elastic clients

7.14.0

Release created to be compatible with 7.14 Elastic clients

7.13.0

Release created to be compatible with 7.13 Elastic clients

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport