PHPackages                             supersem/fetch-dns-service - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. supersem/fetch-dns-service

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

supersem/fetch-dns-service
==========================

The library which get all DNS records for specified domain name.

1.0.0(2y ago)06MITPHPPHP ^8.2

Since Jul 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/supersem/fetch-dns-service)[ Packagist](https://packagist.org/packages/supersem/fetch-dns-service)[ RSS](/packages/supersem-fetch-dns-service/feed)WikiDiscussions main Synced 1mo ago

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

FetchDnsService
===============

[](#fetchdnsservice)

This is a PHP library for the Laravel framework that allows us to get all DNS records for the specified domain name.

Requirements
------------

[](#requirements)

- PHP v.8.2 or later
- Composer

Installation
------------

[](#installation)

Navigate to your project directory and install the library via composer:

```
   cd your-project
   composer require supersem/fetch-dns-service
```

Usage/Examples
--------------

[](#usageexamples)

```
use Supersem\FetchDnsService\FetchDnsService;

$fetchDnsService = new FetchDnsService();
$result = $fetchDnsService->getDnsRecords("gmail.com");

print_r($result);

[
    ["type" => "A", "host" => "gmail.com", "ttl" => "3360", "ip" => "142.250.1.19"],
    ["type" => "TXT", "host" => "gmail.com", "ttl" => "18640", "txt" => "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="],
    ...
];
```

Running Tests
-------------

[](#running-tests)

To run tests, run the following command

```
./vendor/bin/phpunit vendor/supersem/fetch-dns-service/tests
```

License
-------

[](#license)

This library is open-source and available under the [MIT](https://choosealicense.com/licenses/mit/) license.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

1027d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d3e11df705174da073b53448a47c6cf7a308669a45a70a938ccdfc6a078869c?d=identicon)[supersem](/maintainers/supersem)

---

Top Contributors

[![supersem](https://avatars.githubusercontent.com/u/35763261?v=4)](https://github.com/supersem "supersem (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/supersem-fetch-dns-service/health.svg)

```
[![Health](https://phpackages.com/badges/supersem-fetch-dns-service/health.svg)](https://phpackages.com/packages/supersem-fetch-dns-service)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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