PHPackages                             jezzdk/laravel-domain-validator - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. jezzdk/laravel-domain-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

jezzdk/laravel-domain-validator
===============================

1.3(6y ago)1859BSD-2-ClausePHPPHP &gt;=5.6.0CI failing

Since Dec 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jezzdk/laravel-domain-validator)[ Packagist](https://packagist.org/packages/jezzdk/laravel-domain-validator)[ RSS](/packages/jezzdk-laravel-domain-validator/feed)WikiDiscussions master Synced today

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

Laravel Domain Validator
========================

[](#laravel-domain-validator)

A simple domain validator for Laravel 6.7 and above.

Note: DomainActive doesn't work as expected on Alpine Linux ([docker-library/php#442](https://github.com/docker-library/php/issues/442))

#### Domain

[](#domain)

Checks if a string is a valid domain name.

#### DomainActive

[](#domainactive)

Does the same as above but also does a checkdnsrr() against the domain to see if it resolves to an A record.

Usage
-----

[](#usage)

```
use Jezzdk\Laravel\Validator\Domain;
use Jezzdk\Laravel\Validator\DomainActive;

$request->validate([
    'domain' => ['required', 'string', new Domain],
]);

$request->validate([
    'domain' => ['required', 'string', new DomainActive],
]);

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~23 days

Total

5

Last Release

2302d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/139632?v=4)[Jess Stopa](/maintainers/jezzdk)[@jezzdk](https://github.com/jezzdk)

---

Top Contributors

[![baernholdt-jf](https://avatars.githubusercontent.com/u/73707365?v=4)](https://github.com/baernholdt-jf "baernholdt-jf (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jezzdk-laravel-domain-validator/health.svg)

```
[![Health](https://phpackages.com/badges/jezzdk-laravel-domain-validator/health.svg)](https://phpackages.com/packages/jezzdk-laravel-domain-validator)
```

###  Alternatives

[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k39.7M145](/packages/propaganistas-laravel-phone)[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.8M75](/packages/spatie-laravel-honeypot)[intervention/validation

Additional validation rules for the Laravel framework

6827.2M20](/packages/intervention-validation)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M145](/packages/laravel-mcp)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel

3893.6M1](/packages/axlon-laravel-postal-code-validation)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.4M50](/packages/proengsoft-laravel-jsvalidation)

PHPackages © 2026

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