PHP code example of dotblue / nette-pdf
1. Go to this page and download the library: Download dotblue/nette-pdf 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/ */
dotblue / nette-pdf example snippets
$invoiceDocument = $documentFactory->createPdf('invoice');
$invoiceDocument->saveTo(__DIR__ . '/invoice.pdf');
$invoiceDocument->printPdf();