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

Socks React Laravel Package

clue/socks-react

Async SOCKS4/4a/5 proxy connector for ReactPHP. Route TCP connections through a SOCKS server with non-blocking I/O, supporting authentication and DNS resolving via the proxy. Integrates with React\Socket to proxy outgoing connections.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables building high-performance network tools (e.g., web scrapers, API clients) requiring SOCKS proxying without blocking I/O
  • Eliminates need to build custom proxy routing logic for ReactPHP-based applications, reducing technical debt
  • Critical for use cases requiring concurrent, low-latency connections (e.g., real-time data pipelines, distributed systems) where traditional blocking proxies would degrade performance
  • Supports strategic decisions around building vs. buying proxy infrastructure—this package provides a battle-tested, lightweight solution for SOCKS-specific needs

When to Consider This Package

  • ✅ Your application uses ReactPHP or an event-driven architecture
  • ✅ You need SOCKS4/SOCKS5 proxy support for TCP connections (not HTTP/S)
  • ✅ Your team requires non-blocking, promise-based connection handling for scalability
  • ✅ Authentication with SOCKS proxies is required (e.g., corporate gateways)
  • ❌ Using traditional blocking PHP frameworks (e.g., Laravel/FPM) without ReactPHP integration
  • ❌ Only HTTP(S) proxying is needed (use Guzzle or Symfony HttpClient instead)
  • ❌ Requires UDP proxying (this package is TCP-only)

How to Pitch It (Stakeholders)

Executives: "This package lets us securely route critical network traffic through enterprise-grade SOCKS proxies without sacrificing performance. It enables features like anonymous data collection for competitive intelligence, secure access to restricted services, and scalable web scraping—all while keeping infrastructure costs low. With MIT licensing and minimal maintenance overhead, it accelerates time-to-market for proxy-dependent features without engineering bandwidth drain."

Engineering: "It integrates seamlessly with ReactPHP’s ConnectorInterface, providing a zero-boilerplate, promise-based SOCKS client that works out-of-the-box with your async workflows. No thread management or blocking calls—just drop it into your existing event loop. Supports SOCKS5 auth, handles connection errors gracefully, and has a tiny footprint (<100 LOC core). Perfect for adding proxy support to crawlers, API gateways, or network utilities without rewriting your networking layer."

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