PDFMerger
PDFMerger copied to clipboard
How to use Setasign PDF Parser 2?
Hi,
I just bought https://www.setasign.com/products/fpdi-pdf-parser/manual/ to use newer versions of PDF, but unfortunately PDFMerger is using is own version of FPDI :
public function __construct()
{
if(!class_exists("FPDF")) {
require_once('fpdf/fpdf.php');
}
if(!class_exists("FPDI")) {
require_once('fpdi/fpdi.php');
}
}
If I comment out these lines, it doesn't work anymore. My composer.json
is looking like:
"require":
{
"setasign/fpdi-fpdf": "^2.0.0",
"setasign/fpdi_pdf-parser": "^2.0",
"rguedes/pdfmerger": "dev-master",
...
}
I thought it should work because I'm loading setasign's librairies before your library, but no :-/
Thanks a lot, Stéphane
Hey did u get this working, I also want to buy the paid version but want to make I’ll be able to make this working
Hey did u get this working, I also want to buy the paid version but want to make I’ll be able to make this working
Unfortunately no :/ My only solution for now would be to buy this: https://www.setasign.com/products/setapdf-merger/pricing/
If you get this working, please advice, I'm sure you could help a lot of people!
Thanks!