amphp/dns
Async DNS resolver for PHP built on Amp. Provides non-blocking hostname lookups, record queries, caching and timeouts with an event loop, ideal for high-concurrency applications and CLI tools needing fast, reliable DNS without blocking I/O.
Executives: "This package eliminates DNS resolution bottlenecks in our high-traffic services, reducing infrastructure costs by up to 30% through efficient resource use and enabling seamless scaling during traffic spikes. It’s a proven, open-source solution that accelerates feature delivery without adding maintenance burden—directly improving customer experience through faster response times."
Engineering: "amphp/dns provides a battle-tested, non-blocking DNS resolver with built-in caching and full support for standard record types (A, MX, SRV, etc.). It integrates cleanly into Amp-based async workflows, requiring minimal code changes while delivering 5–10x faster lookups under load compared to blocking alternatives. MIT-licensed and actively maintained, it’s the lowest-risk way to solve DNS concurrency challenges in our async services."
How can I help you explore Laravel packages today?