dns
Async DNS resolution for PHP based on Amp.
File Explorer
Download Latest Version (.zip)- ci.yml
- _bootstrap.php
- benchmark.php
- custom-config.php
- ptr-record.php
- Socket.php
- TcpSocket.php
- UdpSocket.php
- BlockingFallbackDnsResolver.php
- DnsConfig.php
- DnsConfigException.php
- DnsConfigLoader.php
- DnsException.php
- DnsRecord.php
- DnsResolver.php
- DnsTimeoutException.php
- functions.php
- HostLoader.php
- InvalidNameException.php
- MissingDnsRecordException.php
- Rfc1035StubDnsResolver.php
- StaticDnsConfigLoader.php
- UnixDnsConfigLoader.php
- WindowsDnsConfigLoader.php
- hosts
- hosts.inline.comment
- hosts.invalid.name
- resolv-negative-option-values.conf
- resolv-rotate.conf
- resolv-search.conf
- resolv.conf
- DecodeTest.php
- DnsCacheTrainer.php
- DnsConfigTest.php
- HostLoaderTest.php
- IntegrationTest.php
- RecordTest.php
- Rfc1035StubResolverTest.php
- SocketTest.php
- TcpSocketTest.php
- UdpSocketTest.php
- UnixDnsConfigLoaderTest.php
- .editorconfig
- .gitattributes
- .gitignore
- .php-cs-fixer.dist.php
- composer-require-check.json
- composer.json
- CONTRIBUTING.md
- LICENSE
- phpunit.xml.dist
- psalm.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/amphp/dns
Downloads the entire project code from GitHub to your computer.
cd dns
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require amphp/dns
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
