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    
Last Updated Ratings Unique User Downloads Download Rankings
2010-08-05 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 250 All time: 7,397 This week: 872Up
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: 3709303 in Brazil Brazil
Week rank: 1601 Up134 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,397
This week:872Up
User Comments (1)
use regex
6 years ago (Denis)