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: 263 All time: 7,738 This week: 267Up
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: 3897315 in Brazil Brazil
Week rank: 877 Up57 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  
 0%
Total:263
This week:0
All time:7,738
This week:267Up
User Comments (1)
use regex
12 years ago (Denis)
57%StarStarStar
 
For more information send a message to info at phpclasses dot org.