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

Product Decisions This Supports

  • Build vs Buy: Eliminates need to build custom HTTP transport for Elastic products; leverages Elastic's maintained solution for reliability and compatibility.
  • Roadmap Alignment: Critical for integrating with Elasticsearch or Elastic Cloud services; supports features like node failover, retries, and async requests out-of-the-box.
  • Use Cases: Ideal for applications requiring distributed cluster communication (e.g., search analytics, log processing), where PSR compliance ensures interoperability with existing PHP infrastructure.
  • Standardization: Enforces PSR-7/PSR-18 standards, reducing integration complexity with other PHP libraries and frameworks.

When to Consider This Package

  • Adopt when: Building PHP applications that interact with Elasticsearch or Elastic Stack services, requiring standardized HTTP transport with cluster-aware routing, automatic retries, and async support. Also when OpenTelemetry instrumentation for observability is needed.
  • Avoid when: Developing non-Elastic-related applications (use general-purpose HTTP clients like Guzzle instead), or when needing advanced HTTP features beyond Elastic's scope (e.g., complex proxy configurations not covered by PSR standards).
  • Key check: If your stack already uses PSR-18 clients (e.g., Guzzle, Symfony HttpClient), this package integrates seamlessly; otherwise, it adds minimal overhead for Elastic-specific needs.

How to Pitch It (Stakeholders)

  • Executives: "This package is Elastic's official, battle-tested HTTP transport for Elasticsearch, reducing development risk and time-to-market. It ensures reliable communication with Elastic Cloud and on-prem clusters through automatic failover, retries, and observability via OpenTelemetry—critical for maintaining high-availability search and analytics systems. By adopting this, we avoid reinventing core infrastructure and align with industry standards."
  • Engineering: "It's a standards-compliant (PSR-7/PSR-18) transport layer that abstracts away HTTP complexity for Elastic integrations. With built-in node pooling, async support, and customizable logging, it integrates effortlessly with existing PHP ecosystems. No need to manage low-level HTTP details—just plug in your preferred client (Guzzle, Symfony) and focus on business logic. Backed by Elastic's maintainers, it's proven in production at scale."
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