PHP code example of proner / cpf
1. Go to this page and download the library: Download proner/cpf library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
proner / cpf example snippets
//EXEMPLO
r\Cpf;
var_dump(CPF::validate('999.999.999.99')); //RETORNA UM TRUE OU FALSE
var_dump(CPF::getUfRegister('999.999.999.99')); //RETORNA O ESTADO A ONDE FOI REGISTRADO O CPF