PHP code example of jansenfelipe / cpf-gratis
1. Go to this page and download the library: Download jansenfelipe/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/ */
jansenfelipe / 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'],
'INFORME_O_TOKEN_DO_CAPTCHA'
);