html2pdf icon indicating copy to clipboard operation
html2pdf copied to clipboard

Use html2pdf without composer

Open thierryler opened this issue 10 years ago • 3 comments

Hello,

How can we use html2pdf in a project that does not use Composer ? What would be the best way ?

Thx, Th.

thierryler avatar Aug 25 '16 10:08 thierryler

Hi, You can do it as you'd do for any other project : you get the code and dependencies manually and manage the autoloading process yourself. Alternatively, you may use version 4.03 which was not supporting composer and embeds the dependencies.

juchi avatar Aug 26 '16 12:08 juchi

Version 4.4.0 also doesn't require composer and includes TCPDF. I wish the newer versions would do the same. Setting up composer seems quite hard.

lwenke avatar Aug 30 '16 02:08 lwenke

Hello. Just tried 4.0.3 and 4.4.0 and both are OK.

Thx.

thierryler avatar Aug 30 '16 16:08 thierryler