PHPackages                             empari/validation - 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. empari/validation

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

empari/validation
=================

The Empari Validation package.

1.0.1(8y ago)08MITPHPPHP ^7.0

Since Jul 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/empari/validation)[ Packagist](https://packagist.org/packages/empari/validation)[ RSS](/packages/empari-validation/feed)WikiDiscussions master Synced 3w ago

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

Empari/Validation
=================

[](#emparivalidation)

The Empari Validation package.

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

[](#installation)

### Composer

[](#composer)

Execute the following command to get the latest version of the package:

```
composer require empari/validation

```

### Laravel

[](#laravel)

In your `config/app.php` add `Empari\Validation\ValidationServiceProvider::class` to the end of the `providers` array:

```
'providers' => [
    ...
    Empari\Validation\ValidationServiceProvider::class,
],
```

Run commands for validation:

```
echo app('validation.cnpj')->validate('66.204.558/0001-05');
echo app('validation.cpf')->validate('628.786.185-13');
echo app('validation.cnpjcpf')->validate('62878618513');
echo app('validation.credit_card')->validate('5502232564641117');
echo app('validation.insc_estadual')->validate('pr', '70.103.83.63-8');
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

2

Last Release

3255d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26292a00fb9d8306c0ed436719ce882bf283399e80eff75b4fa4c6465b5868a6?d=identicon)[adrianodrix](/maintainers/adrianodrix)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[illuminate/validation

The Illuminate Validation package.

18837.7M1.6k](/packages/illuminate-validation)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2422.3M6](/packages/laravel-validation-rules-credit-card)[danielebarbaro/laravel-vat-eu-validator

A simple package that validates EU VAT numbers against the central ec.europa.eu database

41401.6k](/packages/danielebarbaro-laravel-vat-eu-validator)

PHPackages © 2026

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