spatie/dns
Fetch DNS records in PHP using dig. Query domains for A, AAAA, CNAME, MX, TXT, SRV and more, filter by type(s), and get structured record objects with handy accessors for record details.
dnsphp/dns or build custom.rubix/ml-dns (machine learning-focused) or league/dns (more protocol-centric).For Executives: "This package lets us quickly add DNS-powered features—like validating domains for security tools or automating email deliverability checks—without building custom DNS parsers. It’s maintained by Spatie (trusted in the PHP ecosystem), cuts dev time by 60%+, and supports our roadmap for infrastructure tools. Low risk: MIT license, active updates."
For Engineering:
*"Spatie’s dns package is a lightweight, well-documented wrapper for DNS record lookups (A, MX, TXT, etc.). It’s ideal for:
Dns::query('example.com', 'MX')).How can I help you explore Laravel packages today?