Quote:
Is it not better to provide tcpdf with xoops core? As you said news module needs also tcpdf
That's extra 16MB, which I don't think people who don't plan to give their users an option to create PDF files, would appreciate
But those who plan to offer PDF, they can download themselves and just add to that location.
As Cesagonchu mentioned, there is the
"streamlined" version of TCPDF done by Cedric, and of course, people are more than welcome to use it.
From our perspective there are only two requirements:
a) It is a TCPDF library (original or fork)
b) it is placed in that particular folder
Of course, the users can download the files directly, or they can take advantage of
Composer (which you have to make sure that it's installed on your host), and just add this line
"tecnickcom/tcpdf":"6.*"
to the composer.json file located in:
/class/libraries/
and in the command line window issue a command:
composer update
and everything is taken care of, i.e. all libraries are updated, incl. all dependencies.
![](https://xoops.org/uploads/smil42e7a3d4c7b9f.gif)
While we'll provide all the files to download, it's a good opportunity to learn more about
Composer, because this is really an awesome tool, that is used by pretty much everybody!!!