PHPackages                             dimovdaniel/laravel-dni-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. dimovdaniel/laravel-dni-validator

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

dimovdaniel/laravel-dni-validator
=================================

Spanish DNI / NIF / CIF validator for Laravel

1.0.1(7y ago)01MITPHP

Since Sep 2Pushed 5y agoCompare

[ Source](https://github.com/dimovdaniel/laravel-dni-validator)[ Packagist](https://packagist.org/packages/dimovdaniel/laravel-dni-validator)[ Docs](https://github.com/disitec/laravel-dni-validator)[ GitHub Sponsors](https://github.com/beliolfa)[ RSS](/packages/dimovdaniel-laravel-dni-validator/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (3)Used By (0)

Spanish DNI / NIF / CIF Validator for Laravel
=============================================

[](#spanish-dni--nif--cif-validator-for-laravel)

### Installation

[](#installation)

You can install the package via composer:

```
composer require disitec/laravel-dni-validator
```

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in `config/app.php` file:

```
'providers' => [
    // ...
    Disitec\DniValidator\DniValidatorServiceProvider::class,
];
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~46 days

Total

2

Last Release

2762d ago

### Community

Maintainers

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

---

Top Contributors

[![beliolfa](https://avatars.githubusercontent.com/u/12644599?v=4)](https://github.com/beliolfa "beliolfa (5 commits)")[![dimovdaniel](https://avatars.githubusercontent.com/u/5034602?v=4)](https://github.com/dimovdaniel "dimovdaniel (1 commits)")

---

Tags

laravelvalidatorCIFNIFDNI

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dimovdaniel-laravel-dni-validator/health.svg)

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

###  Alternatives

[proengsoft/laravel-jsvalidation

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

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[ronanguilloux/isocodes

PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Book and Music Industries, Phone numbers &amp; Zipcodes for many countries

8013.3M23](/packages/ronanguilloux-isocodes)[sunspikes/clamav-validator

Custom Laravel 5 anti-virus validator for file uploads.

3651.8M3](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)[illuminatech/validation-composite

Allows uniting several validation rules into a single one for easy re-usage

184485.5k](/packages/illuminatech-validation-composite)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

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