PHP code example of sintegra-php / mg
1. Go to this page and download the library: Download sintegra-php/mg 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 / mg example snippets
$params = SintegraPHP\MG\SintegraMG::getParams();
$dadosEmpresa = SintegraPHP\MG\SintegraMG::consulta(
'07399636001179',
'INFORME_AS_LETRAS_DO_CAPTCHA',
$params['challenge']
);