createPdf function

Simple function that lets you easily convert a HTML string to a PDF.

\Typesetsh\createPdf($html, \Typesetsh\UriResolver::all())->toFile('test.pdf');

Last updated