PHPackages                             dnsrobot/dnsrobot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dnsrobot/dnsrobot

ActiveLibrary[API Development](/categories/api)

dnsrobot/dnsrobot
=================

PHP client for the DNS Robot API — DNS lookups, WHOIS, SSL checks, SPF/DKIM/DMARC validation, and more.

v0.1.0(1w ago)00MITPHPPHP &gt;=7.4

Since Mar 13Pushed 1w agoCompare

[ Source](https://github.com/dnsrobot/dnsrobot-php)[ Packagist](https://packagist.org/packages/dnsrobot/dnsrobot)[ Docs](https://dnsrobot.net)[ RSS](/packages/dnsrobot-dnsrobot/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

dnsrobot/dnsrobot
=================

[](#dnsrobotdnsrobot)

PHP client for the [DNS Robot](https://dnsrobot.net) API — 53 free online DNS and network tools.

No API key required. Uses only built-in PHP extensions (curl, json).

Install
-------

[](#install)

```
composer require dnsrobot/dnsrobot
```

Quick Start
-----------

[](#quick-start)

```
use DNSRobot\Client;

$dr = new Client();

// DNS lookup
$result = $dr->dnsLookup('example.com');
print_r($result['resolvedIPs']);

// WHOIS lookup
$whois = $dr->whoisLookup('example.com');
echo $whois['registrar']['name'];

// SSL certificate check
$ssl = $dr->sslCheck('github.com');
echo "Days left: " . $ssl['leafCertificate']['daysToExpire'];

// Email authentication
$spf = $dr->spfCheck('gmail.com');
echo "SPF Grade: " . $spf['grade'];
```

Available Methods
-----------------

[](#available-methods)

MethodDescriptionTool Page`dnsLookup($domain)`DNS record lookup[DNS Lookup](https://dnsrobot.net/dns-lookup)`whoisLookup($domain)`WHOIS registration data[WHOIS Lookup](https://dnsrobot.net/whois-lookup)`sslCheck($domain)`SSL/TLS certificate check[SSL Checker](https://dnsrobot.net/ssl-checker)`spfCheck($domain)`SPF record validation[SPF Checker](https://dnsrobot.net/spf-checker)`dkimCheck($domain)`DKIM record check[DKIM Checker](https://dnsrobot.net/dkim-checker)`dmarcCheck($domain)`DMARC record validation[DMARC Checker](https://dnsrobot.net/dmarc-checker)`mxLookup($domain)`MX record lookup[MX Lookup](https://dnsrobot.net/mx-lookup)`nsLookup($domain)`Nameserver lookup[NS Lookup](https://dnsrobot.net/ns-lookup)`ipLookup($ip)`IP geolocation[IP Lookup](https://dnsrobot.net/ip-lookup)`httpHeaders($url)`HTTP header analysis[HTTP Headers](https://dnsrobot.net/http-headers)`portCheck($host, $port)`TCP port check[Port Checker](https://dnsrobot.net/port-checker)Links
-----

[](#links)

- **Homepage**: [dnsrobot.net](https://dnsrobot.net)
- **All 53 Tools**: [dnsrobot.net/all-tools](https://dnsrobot.net/all-tools)

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance98

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

9d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf7b6d21db9965b253d6afe27f8fba4d2a2cb5f194db9806e994684da9351c15?d=identicon)[dnsrobot](/maintainers/dnsrobot)

---

Tags

apidnssslnetworkwhoislookupspfdmarcdkim

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dnsrobot-dnsrobot/health.svg)

```
[![Health](https://phpackages.com/badges/dnsrobot-dnsrobot/health.svg)](https://phpackages.com/packages/dnsrobot-dnsrobot)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
