Yii Framework Forum: library installation without composer - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

library installation without composer Rate Topic: -----

#1 User is offline   Peppe 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 47
  • Joined: 12-January 13
  • Location:Macerata - Italy

Posted 29 March 2017 - 06:30 AM

Hello, I'm trying to use the pdf extension (http://www.yiiframew...m/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.
0

#2 User is offline   Peppe 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 47
  • Joined: 12-January 13
  • Location:Macerata - Italy

Posted 31 March 2017 - 05:54 AM

View PostPeppe, on 29 March 2017 - 06:30 AM, said:

Hello, I'm trying to use the pdf extension (http://www.yiiframew...m/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).
1

#3 User is offline   reykel 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 67
  • Joined: 21-June 15
  • Location:Camaguey, Cuba

Posted 19 April 2017 - 04:28 PM

Hi, you can try Mpdf or Fpdf, if you need any help just ask. Good luck...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users