PHP Classes
elePHPant
Icontem

PHP Validar CPF e CNPJ: Validate Brazil fiscal numbers

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-07-16 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 190 All time: 7,862 This week: 885Up
Version License PHP version Categories
chave-fiscal 1.0.0GNU General Publi...5.0PHP 5, Finances, Validation
Description Author
This package is specific mainly for applications used in Brazil Brazil .

This class can validate Brazil fiscal numbers.

It can take either a CPF or a CNPJ number, clean separator characters and validate it by verifying its length and the check digits.

The class can also return the fiscal number formatted with separator characters.

Picture of Pablo Veinberg
Name: Pablo Veinberg <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 41
All time rank: 3840317 in Brazil Brazil
Week rank: 1445 Up119 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Files folder imageclasses (1 file)
Files folder imagecss (1 file)
Files folder imageincludes (1 file)
Accessible without login Plain text file cnpj.php Example CNPJ Test Example
Accessible without login Plain text file cpf.php Example CPF Test Example
Accessible without login Plain text file index.php Example Index

  Files folder image Files  /  classes  
File Role Description
  Plain text file ValidarChaveFiscal.php Class ValidarChaveFiscal

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file style.css Data CSS Style

  Files folder image Files  /  includes  
File Role Description
  Accessible without login Plain text file funcs.php Aux. Aux functions

 Version Control Unique User Downloads Download Rankings  
 0%
Total:190
This week:0
All time:7,862
This week:885Up