Login   Register  
PHP Classes
elePHPant
Icontem

PHP Validar CPF e CNPJ: Validate Brazil fiscal numbers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 175 All time: 7,426 This week: 1,474Up
Version License PHP version Categories  
chave-fiscal 1.0.0GNU General Public Lice...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: 40
All time rank: 3681298 in Brazil Brazil
Week rank: 1721 Up144 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:175All time:7,426
 This week:0This week:1,474Up