PHP Classes

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 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 199 All time: 8,232 This week: 226Up
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.

Name: Pablo Veinberg <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 44
All time rank: 3998329 in Brazil Brazil
Week rank: 736 Up50 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  
This week:0
All time:8,232
This week:226Up