1. Go to this page and download the library: Download nfephp-org/sped-efinanceira 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/ */
nfephp-org / sped-efinanceira example snippets
function enviarLoteRest(array $events, $modo = self::MODO_CRYPTOZIP): string
function enviarEventoXmlRest(string $xml, $modo = self::MODO_CRYPTOZIP): string
function consultaLote($protocolo): string
function consultarRest(string $type, array $filtro = null):string
function buscarDadosConsultaRest(string $type, string $protocolo): string
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.