Simple function that lets you easily convert a HTML string to a PDF.
\Typesetsh\createPdf($html, \Typesetsh\UriResolver::all())->toFole('test.pdf');
Last updated 1 year ago