PHP code example of sintegra-php / sc

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

    

sintegra-php / sc example snippets




$params = SintegraPHP\SC\SintegraSC::getParams();

$dadosEmpresa = SintegraPHP\SC\SintegraSC::consulta(
    '83646984003710',
    'INFORME_AS_LETRAS_DO_CAPTCHA',
    $params['viewstate'],
    $params['eventvalidation'],
    $params['viewstategenerator']
);