PHP code example of convenia / open-nfeio
1. Go to this page and download the library: Download convenia/open-nfeio 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/ */
convenia / open-nfeio example snippets
use Convenia\OpenNfeio\OpenNfeio;
$obj = new OpenNfeio('apitoken');
$obj->addresses('04110001');
$response = $obj->get() //response array