Getting started

System Requirements and Installation

Because the Stamper component is based on the SetaPDF-Core component its system requirements and installation are absolutely identically. 

Loading the Component

The SetaPDF-Stamper component make use of classes and methods of the SetaPDF-Core component. The Stamper component itself is integrated into the same structure and is fully covered by the autoload function of the Core component.

Loading the SetaPDF-Stamper 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 autoloader instance from Composer:

PHP
require 'vendor/autoload.php';

Error Handling

Beside the mentioned Exception in the Core manual the Stamper component has its own base Exception: SetaPDF_Stamper_Exception