December 2013
Intermediate to advanced
306 pages
6h 26m
English
The DOMPDF Spark is a great bit of kit; it's simple to set up and can handle most things. It works by grabbing the output of a HTML template file (which you previously created)—you can pass variables to the HTML just as you would with a normal view file—and DOMPDF will create a PDF file from that formatted HTML code.
As this recipe requires the DOMPDF Spark, we'll need to install that into our CodeIgniter instance before we do anything else. To install it, perform the following steps:
php tools/spark install dompdf
That will download the DOMPDF ...
Read now
Unlock full access