PHPackages                             adelarcubs/cpf-cnpj-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. adelarcubs/cpf-cnpj-validation

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

adelarcubs/cpf-cnpj-validation
==============================

0.0.1(10y ago)09.9k1[5 PRs](https://github.com/adelarcubs/cpf-cnpj-validation/pulls)BSD-3-ClausePHPPHP &gt;=5.6CI failing

Since Jul 3Pushed 5mo ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (7)Used By (0)

\#Validar de CPF e CNPJ [![Build Status](https://camo.githubusercontent.com/8b72a69924fd6f72c7af10bab0d21b996daa4e5c15c93761b69f294be1add9b2/68747470733a2f2f7472617669732d63692e6f72672f6164656c6172637562732f6370662d636e706a2d76616c69646174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/adelarcubs/cpf-cnpj-validation)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a87b8dd12c9d97821ac92b782c32b2294c593f40001376e7f3fdee3e2decfc1f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6164656c6172637562732f6370662d636e706a2d76616c69646174696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/adelarcubs/cpf-cnpj-validation/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/67185ff228f33453c717e59cab459d837673edc63d0d5a00841b1240c5d2a42b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6164656c6172637562732f6370662d636e706a2d76616c69646174696f6e2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/adelarcubs/cpf-cnpj-validation/?branch=master)

A ideia é usar o zend validator para fazer a validação, não sei é para os outros frameworks, mas espero que de para usar em todos dessa forma.

\##Instalação

```
composer require adelarcubs/cpf-cnpj-validation

```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance49

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.4% 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

3653d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80a8e5203a519e242c8bf4195153b3eabaa368b1018e9a62076de85caf34057b?d=identicon)[adelarcubs](/maintainers/adelarcubs)

---

Top Contributors

[![adelarcubs](https://avatars.githubusercontent.com/u/1053792?v=4)](https://github.com/adelarcubs "adelarcubs (27 commits)")[![edmargomes](https://avatars.githubusercontent.com/u/6574942?v=4)](https://github.com/edmargomes "edmargomes (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/adelarcubs-cpf-cnpj-validation/health.svg)

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

###  Alternatives

[stroker/form

ZF2 module for extending forms with live clientside validation

3957.1k](/packages/stroker-form)[codeedu/code_validator

Lib to validator things

105.5k](/packages/codeedu-code-validator)

PHPackages © 2026

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