Not sure what's wrong with this but i just followed the docs.
$file_name='original.pdf';
$overlay='overlay.pdf';
$pdf = new \mikehaertl\pdftk\Pdf($file_name);
$result = $pdf->stamp($overlay)
->saveAs('merge.pdf');
if ($result === false) {
$error = $pdf->getError();
}
It does not overlay, no output file created.
Any help would be much appreciated.
Not sure what's wrong with this but i just followed the docs.
It does not overlay, no output file created.
Any help would be much appreciated.