1. Go to this page and download the library: Download dazza-dev/laravel-feco 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/ */
dazza-dev / laravel-feco example snippets
use DazzaDev\LaravelFeco\Facades\LaravelFeco;
$numberingRange = LaravelFeco::getNumberingRange('nit_emisor');
use DazzaDev\LaravelFeco\Facades\LaravelFeco;
$client = LaravelFeco::getClient();
$client->setDocumentType('invoice'); // invoice, credit-note o debit-note
$client->setDocumentData($documentData);
$invoice = $client->sendDocument();