Installation
Page describes installation and basic usage of library.
Installation with composer
Official installation method is via composer and its packagist package trogon/otus-pdf.
$ composer require trogon/otus-pdf
PDF generation requires font informations. The package should initialize font data. In case the package is required in other package, the folowing command should be executed.
$ composer run-script install-fonts