PHPackages                             matmper/laravel-brazil-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. matmper/laravel-brazil-validation

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

matmper/laravel-brazil-validation
=================================

Composer package for request field validation for Laravel

1.1.0(1mo ago)26.9k↓36.4%MITPHPPHP ^8.2.2

Since Sep 28Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/matmper/laravel-brazil-validation)[ Packagist](https://packagist.org/packages/matmper/laravel-brazil-validation)[ RSS](/packages/matmper-laravel-brazil-validation/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (3)Dependencies (12)Versions (5)Used By (0)

Laravel Brazil Validation 🇧🇷
============================

[](#laravel-brazil-validation-)

Composer package for request brazilian field validation for Laravel

[ ![PRs Welcome](https://camo.githubusercontent.com/875fdcafb33a30d3badb178f9a5e7177dd3ebab8dbedeaa97028e748172e7375/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/matmper/laravel-brazil-validation/pulls)[ ![Packagist](https://camo.githubusercontent.com/2da5ef321e999d314a116b2475c03ab1ef8e0e159f077387e89e6bd8bc474dfa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61746d7065722f6c61726176656c2d6272617a696c2d76616c69646174696f6e3f7374796c653d666f722d7468652d626164676526636f6c6f723d253233623665363733)](https://packagist.org/packages/matmper/laravel-brazil-validation)[ ![Github Actions](https://camo.githubusercontent.com/d684b7639fb1b9418416c7b4bfa2decefae19fc2452adfbb274131504634046c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d61746d7065722f6c61726176656c2d6272617a696c2d76616c69646174696f6e2f6769746875625f616374696f6e732e796d6c3f6272616e63683d6d61696e267374796c653d666f722d7468652d6261646765)](https://github.com/matmper/laravel-brazil-validation/actions/workflows/github_actions.yml?query=branch%3Amain)[ ![License MIT](https://camo.githubusercontent.com/31e62e0eff03ce9ddfdf69d8476340d4f541990bfb152cb02a0f342965252997/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666f722d7468652d6261646765)](https://opensource.org/license/mit/)Dependences
===========

[](#dependences)

- PHP &gt;= 8.2.2 ([Doc](https://www.php.net/releases/8.2/pt_BR.php))
- Laravel &gt;= 11 ([Doc](https://laravel.com/docs/11.x/releases))
- Composer ([Doc](https://getcomposer.org/))

Install
=======

[](#install)

Install composer package and publish:

```
# install package
$ composer require matmper/laravel-brazil-validation

# publish package
$ php artisan vendor:publish --provider="Matmper\Providers\ValidationProvider"
```

Documentation
=============

[](#documentation)

laravel-brazil-validation versionLaravel versionsCNPJ Alphanumeric1.0.x9 / 10 / 11No1.1.x11 / 12 / 13YesAccess: [Documentation 1.1.x](https://matmper.github.io/laravel-brazil-validation)

Contribution &amp; Development
------------------------------

[](#contribution--development)

This is an open source code, free for distribution and contribution. All contributions will be accepted only with Pull Request and that pass the test and code standardization.

Run composer install in yout development env:

```
$ composer install --dev --prefer-dist
```

Now you can use `composer check` in your terminal.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance82

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

3

Last Release

40d ago

PHP version history (2 changes)1.0.0PHP ^8.0.2

1.1.0PHP ^8.2.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ebbba804257345da231efbb8a00e9eb80383359990fd9e860c3c6ed7e42eb46?d=identicon)[matmper](/maintainers/matmper)

---

Top Contributors

[![matmper](https://avatars.githubusercontent.com/u/8351960?v=4)](https://github.com/matmper "matmper (38 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matmper-laravel-brazil-validation/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[illuminate/validation

The Illuminate Validation package.

18838.8M2.0k](/packages/illuminate-validation)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M323](/packages/laravel-ai)[illuminate/filesystem

The Illuminate Filesystem package.

16166.4M3.5k](/packages/illuminate-filesystem)[moonshine/moonshine

Laravel administration panel

1.3k268.2k89](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

731189.9k16](/packages/tallstackui-tallstackui)

PHPackages © 2026

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