PHPackages                             jeronimofagundes/php-dig - 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. jeronimofagundes/php-dig

ActiveLibrary

jeronimofagundes/php-dig
========================

An utility to run dig from PHP

v1.0.5(2y ago)01251MITPHPPHP &gt;= 5.6.0

Since Oct 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jeronimofs/php-dig)[ Packagist](https://packagist.org/packages/jeronimofagundes/php-dig)[ RSS](/packages/jeronimofagundes-php-dig/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

php-dig
=======

[](#php-dig)

An utility to run dig from PHP

How to use this library
=======================

[](#how-to-use-this-library)

In order to one use this library, he/she can require it with composer, the standard PHP library package manager.

```
composer require "jeronimofagundes/php-dig:1.0.5"

```

and use the following class in his/her code:

```
...
use \JeronimoFagundes\PhpDig\Dig;
use \JeronimoFagundes\PhpDig\DigConfig;
...
// If you need config the dig query, Do it like this:
$digConf = new DigConfig();
$digConf->setTimeout(10)->setServer("8.8.8.8")->setTries(5);

// Do a query with your config
$dig1 = new Dig($digConf);
$res1 = $dig1->query("github.com", "A");

// Or with no config at all (use defaults)
$dig2 = new Dig();
$res2 = $dig2->query("github.com", "A");
...

```

To see the full docs, download this repo and open in your browser the docs/index.html file.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~0 days

Total

5

Last Release

951d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ba5de66353cde49f9726c5702f4f9087aadeae074ab72d4bfe4d434e4bd4565?d=identicon)[jeronimofs](/maintainers/jeronimofs)

---

Top Contributors

[![jeronimofs](https://avatars.githubusercontent.com/u/144969029?v=4)](https://github.com/jeronimofs "jeronimofs (6 commits)")

---

Tags

phpdig

### Embed Badge

![Health badge](/badges/jeronimofagundes-php-dig/health.svg)

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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