Use Html2Pdf in production mode (without useless files)

Rocstar Source

I use html2pdf to generate my PDF but since version 5 we can not use it without composer

The problem is that it generates me 567 files and 45 files and that half of the files are totally useless as the examples

How to use only what interests me is to say the generation of PDF ?

I think I use composer correctly, I did :

composer require spipu/html2pdf

And after (in the folder) :

composer install --no-dev

I will have to go through all the folders and delete the files manually?



comments powered by Disqus