CakePHP PDF creation


#1

Hi,

I can create PDF’s with the following class (https://github.com/rospdf/pdf-php/blob/master/README.md)
Can someone help me to integrate this class into my CakePHP Project ?
Do I need to use CakePDF for this ?
Can I send PDF Headers to display the PDF Overlay in CakePHP ?

Sincerely P.


#2

You don’t have to, but it will require less work in general. If you have something working with pdf-php, you could also write a view class that lets you adapt your PDF instructions into Cake’s view layer.