DomPdf in CodeIgniter 4 without composer

You can see many articles and blogs on Dompdf in CodeIgniter 4, but they are composer base installations.

Here we will see, how we can use Dompdf in CodeIgniter 4 manually, without using the composer.

STEP 1:

Download the vendor folder, and extract it on the root.

‘vendor’ folder is the folder created when we use the composer.

 

 

 

 

 

 

 

 

 

STEP 2:

Load Dompdf on top of controller

 

STEP 3:

Create html_to_pdf method in controller.

 

Leave a Reply

Your email address will not be published. Required fields are marked *