PHP code example of hurah / invoice
1. Go to this page and download the library: Download hurah/invoice 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/ */
hurah / invoice example snippets
$translation = [
'VAT percentage' => 'BTW percentage'
];
$structure = new Structure();
$structure->setInvoice($yourInvoiceData);
$environment = $structure->getEnvironment();
$environment->setTranslation($translation);
// See tests for full invoice generation example.