mergePDF

mergePdf

ADVANCED / PREMIUM BASIC

Merges two or more PDF documents.

Description
public mergePdf (array $documentArray, string $finalDocument)

This method allows the full merging of PDF documents.

Parameters

documentArray

Paths array of the PDF documents to merge.

finalDocument

The destination path of the merged file.

Code samples

Example #1: