PHP code example of andersonaragao / cpf-gratis

1. Go to this page and download the library: Download andersonaragao/cpf-gratis 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/ */

    

andersonaragao / cpf-gratis example snippets




$params = JansenFelipe\CpfGratis\CpfGratis::getParams(); 

$dadosPessoa = JansenFelipe\CpfGratis\CpfGratis::consulta(
    'INFORME_O_CPF',
    'INFORME_A_DATA_DE_NASCIMENTO', //DDMMYYYY
    'INFORME_AS_LETRAS_DO_CAPTCHA',
    $params['cookie']
);