This repository is source code for the tutorial : Generate a PDF file using php
Following steps are performed in this tutorial,
-
Install Apache, PHP and MySQL
-
Install TCPDF library using composer
-
Create a db connection to connect to MySQL
-
Create a script to generate PDF using php from MySQL database
-
Execute the script
Read detailed tutorial at: https://programmerblog.net/generate-pdf-using-php/