PHP Classes

CPF/CNPJ Validation: Validation of Brazilian CPF/CNPJ numbers

Recommend this page to a friend!

  Author Author  
Name: André Cupini <contact>
Classes: 6 packages by
Country: Brazil Brazil
Age: 35
All time rank: 814 in Brazil Brazil
Week rank: 1271 Down98 in Brazil Brazil Down

  Detailed description   Download Download .zip .tar.gz  
This class can perform validation of Brazilian CPF/CNPJ numbers.

It takes a given CPF or CNPJ number, removes any separator characters ( . - / ) and computes the checksum of the remaining digits to determine if the number can be valid.

The class returns true or false depending on whether the number was found to be valid.

In Portuguese:

Esta classe pode validar números de CPF e CNPJ.

A classe pega em um dado CPF ou CNPJ, remove caracteres separadores como . - e /, e calcula a soma dos dígitos restantes para verificar se o número pode ser válido.

A classe retorna verdadeiro ou falso dependendo se o número pode ser válido ou não.

  Classes of André Cupini  >  CPF/CNPJ Validation  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CPF/CNPJ Validation
Base name: cpf_cnpj_validation
Description: Validation of Brazilian CPF/CNPJ numbers
Version: -
PHP version: 3
License: GNU General Public License (GPL)
All time users: 1359 users
All time rank: 2764
Week users: 0 users
Week rank: 732 Equal
Country specific: This package is specific mainly for applications used in Brazil Brazil .
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Finances Money, exchanging, taxes and stocks View top rated classes
Group folder image Validation Validation algorithms View top rated classes

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file class_VALIDATE.php Class All the functions are here
Accessible without login Plain text file example.php Example Example of as to use the validation functions

Download Download all files: cpf_cnpj_validation.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.