PHP Classes

PHP Validar CPF e CNPJ: Validate Brazil fiscal numbers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 183 All time: 7,684 This week: 1,174Up
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: 3776306 in Brazil Brazil
Week rank: 1602 Up129 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:183All time:7,684
 This week:0This week:1,174Up