PHPackages                             rsporteman/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. rsporteman/validator

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

rsporteman/validator
====================

provides a set of commonly needed validators

01PHP

Since Apr 27Pushed 4y agoCompare

[ Source](https://github.com/rsporteman/validator)[ Packagist](https://packagist.org/packages/rsporteman/validator)[ RSS](/packages/rsporteman-validator/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![codecov](https://camo.githubusercontent.com/3e4c9085a193f9cb2b339451bf46d3a1ba984d22cac35577cc03477c1f057878/68747470733a2f2f636f6465636f762e696f2f67682f7273706f7274656d616e2f76616c696461746f722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d314e5436525434394f4b)](https://codecov.io/gh/rsporteman/validator)

rsporteman/validator
====================

[](#rsportemanvalidator)

Introduction
------------

[](#introduction)

Code for cpf and a cnpj validation, use like Laminas validators.

Installation using Composer
---------------------------

[](#installation-using-composer)

```
$  composer require rsporteman/validator
```

Example
-------

[](#example)

```
