Getting Started
Table of Contents
System Requirements and Installation
Because the Merger component is based on the SetaPDF-Core component its system requirements and installation are absolutely identically.
Loading the Component
The SetaPDF-Merger component makes use of classes and methods of the SetaPDF-Core component. The Merger component itself is integrated into the same structure and is fully covered by the autoload function of the Core component.
Loading the SetaPDF-Merger component is that simple:
PHP
require_once('/absolute/path/to/library/SetaPDF/Autoload.php');
or
PHP
require_once('../relative/path/to/library/SetaPDF/Autoload.php');
If the component is installed via Composer, just use the autloader instance from Composer:
PHP
require 'vendor/autoload.php';
Error Handling
Beside the mentioned Exception in the Core manual the Merger component has its own base Exception: SetaPDF_Merger_Exception
.
A more detailed description about error handling with this component can be found here.