PHP Classes

Validate CPF CNPJ: Validate Brazilian CPF and CNPJ numbers

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 262 All time: 7,739 This week: 188Up
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: 3893314 in Brazil Brazil
Week rank: 443 Up31 in Brazil Brazil Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,739
This week:188Up
User Comments (1)
use regex
11 years ago (Denis)
For more information send a message to info at phpclasses dot org.