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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 200 All time: 8,421 This week: 263Up
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: 48
All time rank: 4108335 in Brazil Brazil
Week rank: 592 Up35 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,421
This week:263Up
For more information send a message to info at phpclasses dot org.