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

Connection Manager Extra Laravel Package

clue/connection-manager-extra

Extra connector decorators for ReactPHP Socket. Wrap ConnectorInterface to add retries, timeouts, delays, rejection rules, swapping, consecutive/random selection, concurrency limits and selective routing—without changing your async connect() code.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Asynchronous Networking for High-Performance Apps: Enables non-blocking TCP/IP connections, critical for real-time systems (e.g., chat apps, IoT dashboards, or high-traffic APIs).
  • Resilience & Fault Tolerance: Built-in retry mechanisms (Repeat), timeouts (Timeout), and selective routing (Selective) align with roadmap goals for reliability in distributed systems.
  • Build vs. Buy: Avoids reinventing async connection logic; leverages ReactPHP’s ecosystem (MIT-licensed, battle-tested).
  • Use Cases:
    • Load Balancing: Use Consecutive/Random/Concurrent to distribute connections across servers.
    • Security: Block malicious domains (Selective + Reject) or enforce TLS (Delay for unencrypted routes).
    • Performance: Delay non-critical connections (Delay) or enforce timeouts (Timeout) to prevent hangs.

When to Consider This Package

  • Adopt if:
    • Your app requires async TCP/IP (e.g., WebSockets, gRPC, or custom protocols).
    • You need connection strategies (retries, timeouts, selective routing) without heavy frameworks (e.g., Symfony HTTP Client).
    • Your stack already uses ReactPHP (or you’re open to adopting it).
  • Look elsewhere if:
    • You’re using synchronous PHP (e.g., Guzzle for HTTP-only tasks).
    • Your needs are simple (e.g., basic HTTP requests; use Guzzle or Symfony’s HTTP Client).
    • You require built-in DNS resolution or HTTP-specific features (this is TCP/IP only).

How to Pitch It (Stakeholders)

For Executives: "This package lets us handle network connections asynchronously—like a high-performance traffic cop for our app’s connections. It’s lightweight, open-source (MIT), and adds resilience (retries, timeouts) without locking us into a monolithic framework. For example, we could block ads or delay non-critical requests to improve speed and security, all while keeping costs low."

For Engineers: *"A decorator-based library for ReactPHP’s async sockets. Key features:

  • Retry logic (Repeat) for flaky connections.
  • Selective routing (Selective) for ACLs or geo-based rules.
  • Non-blocking—ideal for event-driven apps.
  • Stackable decorators (e.g., Timeout + Retry). Works with PHP 5.3–8.5; MIT-licensed. Example: Block ads with Selective + Reject in 2 lines of code."*
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.
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium