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

Http Laravel Package

react/http

Event-driven, streaming HTTP client and server for ReactPHP. Send many concurrent async HTTP/HTTPS requests, handle redirects/timeouts/auth, and stream request/response bodies. Build plain HTTP or secure HTTPS servers on ReactPHP Socket and EventLoop.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables building high-throughput, real-time services where traditional PHP-FPM models fail (e.g., IoT data ingestion, live analytics dashboards, or chat services), leveraging non-blocking I/O to handle thousands of concurrent connections with minimal memory overhead
  • Strong "buy" case for async HTTP needs: avoids reinventing the wheel for core networking logic while providing battle-tested, standards-compliant (PSR-7/18) implementation with active maintenance
  • Critical for streaming use cases (large file uploads/downloads, SSE, WebSockets) where loading entire payloads into memory is impractical, and for microservices requiring efficient inter-service communication with low-latency retries
  • Supports roadmap for infrastructure modernization: migrate legacy synchronous services to async architectures incrementally without full-stack rewrite

When to Consider This Package

  • Consider when your workload is I/O-bound (e.g., external API calls, database operations, file system access) and requires high concurrency (>100 simultaneous connections), or when handling streaming data payloads (e.g., video processing, real-time logs)
  • Ideal for lightweight API gateways, service mesh components, or custom protocol servers where full-stack frameworks add unnecessary overhead
  • Avoid when:
    • Your project is small-scale with simple CRUD operations (traditional Laravel/Symfony stacks are simpler)
    • Your team lacks experience with event-driven programming (steep learning curve for async patterns)
    • You require HTTP/2 support (this package is HTTP/1.1-focused)
    • You need built-in routing, ORM, or templating—this is a low-level networking library requiring additional middleware/router layers

How to Pitch It (Stakeholders)

Executives: "This package lets us serve 10x more concurrent users on the same infrastructure by eliminating blocking I/O bottlenecks—slashing cloud costs while enabling real-time features like live dashboards and chat that competitors can't match. It's open-source, battle-tested, and integrates seamlessly with our existing PHP ecosystem."
Engineering: "Leverage ReactPHP's async HTTP stack to build non-blocking services that handle thousands of connections with minimal memory overhead. It's PSR-7 compliant, supports streaming for massive payloads, and gives fine-grained control over request/response lifecycles—perfect for scaling microservices without the overhead of traditional PHP setups. We can incrementally adopt it for high-concurrency components while keeping the rest of our stack intact."

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
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
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation