View PDF with Cake

Hi everyone,

I am trying to simply view a pdf in the browser. I’m trying to find an example but I have not been able to find one so far. I would really appreciate if someone could point me to the documentation or provide a simple example of where to place a pdf file and how to render it in CakePHP in the browser (Or download).

I’m sure there is an obvious answer but could not find it anywhere. Thank you for your help!

Kind Regards.

Thanks Diego! Much appreciated.