yi_peppe
(Peppedantini)
March 29, 2017, 11:30am
1
Hello, I’m trying to use the pdf extension (http://www.yiiframework.com/extension/pdf ) to produce PDF file on server side.
The html2pdf component documentation says to install it via composer to resolve dependancies. I never used composer and can’t find how to run it for a single component. I tried to manually set the tcpdf library following the “composer.json” file but without success.
Can someone help me? Thanks.
yi_peppe
(Peppedantini)
March 31, 2017, 10:54am
2
Hello, I’m trying to use the pdf extension (http://www.yiiframework.com/extension/pdf ) to produce PDF file on server side.
The html2pdf component documentation says to install it via composer to resolve dependancies. I never used composer and can’t find how to run it for a single component. I tried to manually set the tcpdf library following the “composer.json” file but without success.
Can someone help me? Thanks.
May be I found a solution: simply don’t use html2pdf.
The mPDF library, referred by the extension too, runs well and easy: and doesn’t need further libraries or configuration.
I installed release 6.1 from github (the linked site is closed).
reykel
(Rhpalacios66)
April 19, 2017, 9:28pm
3
Hi, you can try Mpdf or Fpdf, if you need any help just ask. Good luck…