For the complete documentation index, see llms.txt. This page is also available as Markdown.

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