PHP Classes

Validate CPF CNPJ: Validate Brazilian CPF and CNPJ numbers

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 265 All time: 7,767 This week: 660Up
Version License PHP version Categories
validate-cpf-cnpj 1.0GNU General Publi...5PHP 5, Validation
Description 

Author

This package is specific mainly for applications used in Brazil Brazil .

This class can be used to validate brazilian CPF and CNPJ numbers.

It can take either CPF or CNPJ numbers and compute their checksum to determine if the numbers can be valid.

Picture of Mario Arroyo
Name: Mario Arroyo <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 3931318 in Brazil Brazil
Week rank: 170 Up12 in Brazil Brazil Up

  Files folder image Files (2)  
File Role Description
Accessible without login HTML file doc.html Doc. The ValidateCpfCnpj PHP class documentation
Plain text file Services.class.php Class The ValidateCpfCnpj PHP class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:265
This week:0
All time:7,767
This week:660Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:58%StarStarStar
Documentation:66%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2114
 
use regex
14 years ago (Denis)
57%StarStarStar