PHP code example of zrf / query

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

    

zrf / query example snippets




use zRF\Query\Search as zRF;

$cookie = zRF::cookie(); // retorna cookie para uso
$base64Image = zRF::image(); // base64 do captcha

// ...

// Informe para o método search o CNPJ, o captcha digitado e o cookie
zRF::search($cnpj, $digits, $cookie);