PHP Package: amphp/dns

The amphp/dns PHP library provides asynchronous DNS resolution for efficient networking operations.

Current Version: 2.4.0
Last Updated: 2025-01-19
PHP Requirement: >=8.1
Dependencies:
amphp/amp
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The amphp/dns library offers high-performance DNS resolution capabilities, enabling developers to handle network operations seamlessly. With asynchronous DNS lookups, this library optimizes networking tasks, enhancing overall application performance. It ensures reliable and swift DNS resolution, crucial for robust web applications and network-heavy projects.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.4.0

Download Download v2.4.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/amphp/dns/2.4.0/loader.php';
require_once 'libs/amphp/amp/3.1.0/loader.php';

use Amp\Dns\Config;

$obj = new Config();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.