Overview of php-pdftk features
masterphp-pdftk is a PHP wrapper that provides access to the full power of the pdftk command-line utility. Key capabilities include:
- Form Handling: Fill PDF forms using XFDF/FDF files or PHP arrays (UTF-8 safe for unflattened forms with pdftk 2.x).
- File Generation: Create XFDF/FDF files from PHP arrays or create FDF files from existing filled PDF forms.
- Page Manipulation: Combine pages from multiple PDFs into one, or split a single PDF into individual pages.
- Layering: Add background or overlay PDF files.
- Metadata & Security: Read PDF/form field metadata, set/remove passwords, and manage permissions.