2017 © Pedro Peláez
 

library phpcpf

CPF verify for PHP 5.3

image

lmsaud/phpcpf

CPF verify for PHP 5.3

  • Tuesday, January 9, 2018
  • by lmsaud
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

phpCPF

PHP class used to check if a given CPF number is valid and also get the brazilian state of the cpf number, (*1)

Usage

require_once "CPF.php";
$cpf = new CPF(PUT_CPF_DIGITS_HERE);
if($cpf->isValid()) {
  echo "CPF is OK";
}
else {
  echo "CPF is NOT OK";
}

$uf = $cpf->getUF();
echo "STATE OF ORIGIN: " + $uf;

The Versions

09/01 2018

dev-master

9999999-dev https://github.com/lmsaud/phpcpf

CPF verify for PHP 5.3

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

cpf cpf-check