Hello friends, good evening, I have a case. I am working on a document processing system with a digital signature and since several PDFs are attached to the file, in the end I need to join them to print it in a single file and where I use merger where the pdf joins me normally, but the signatures they lose the pdf, I have seen this page https://www.ilovepdf.com/es/unir_pdf that joins normal with all signatures although the pdf loses the validity of the signature, that does not interest me because I only need to print it, there will be a bookstore or to do something similar to that page.
include 'PDFMerger.php';
use PDFMerger\PDFMerger;
$pdf = new PDFMerger;
$pdf->addPDF('file1.pdf');
$pdf->addPDF('file3.pdf');
$pdf->merge('download','merged.pdf');
Hello, I already solved my little problem with the shellcommand and pdftk libraries for the union of signed pdf obviously the value of united pdf loses the value but the idea is to only join.
You must first install PDFtk - The PDF Toolkit https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
Second download library to execute PDFtk commands https://github.com/mikehaertl/php-shellcommand
PDFtk Command List https://www.pdflabs.com/docs/pdftk-cli-examples/
EXAMPLE: