Menu
Look this is the situation if I had to write an html website with a pdf in a folder then uploaded it to a server and went to view the file at say. Article Content:Generate MS Word document files with Codeigniter and Phpword library Generate MS Word document files with Codeigniter and Phpword library. February 28, 2017.
Deprecated: Looking for a new maintainer for this package. Open an issue if interested.
Generate PDF's in CodeIgniter using this easy to use library based on domPDF.
![File File](/uploads/1/2/6/3/126303884/371993862.jpg)
- Drop the pdf.php library into your libraries directory.
- Download domPDF from http://code.google.com/p/dompdf/downloads/list
- Drop the dompdf directory into your libraries directory alongside the pdf.php file.
You can convert a view into a PDF by using the following code.
You can also pass in data to the function just as you would using
$this->load->view('welcome', $data);
by using![Codeigniter Codeigniter](/uploads/1/2/6/3/126303884/706159727.jpg)
For more information on how to use domPDF then please visit: http://code.google.com/p/dompdf/wiki/Usage
- CodeIgniter PDF Library - MIT License
- domPDF - GNU Lesser GPL
- CodeIngiter Conversion - Chris Harvey
- domPDF - The domPDF Team