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.

options

The possible keys and values are:

key Type Description
annotations bool Import annotations (links, comments and others). False as default.
Code samples

Example #1: