Posted on: 2016/7/9 19:34
Re: Publisher and xoops 2.5.8 tests
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
to the composer.json file located in:
and in the command line window issue a command:
and everything is taken care of, i.e. all libraries are updated, incl. all dependencies.
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!!!