This document outlines the future direction of PDFLib. We follow Semantic Versioning.
The v3.1 release (current stable) introduced advanced stateful operations, security, and major integrations.
- Stateful Chaining:
rotate()->watermark()->save()pipeline. - Laravel Wrapper: Official
PDFServiceProviderandPDFFacade. - Digital Signature Validation: Verify X.509 signatures (
validate()). - OCR Support: Extract text via Tesseract (
ocr()). - Redaction: Coordinate-based text blackout (
redact()). - Metadata: Read/Write PDF metadata (
getMetadata()). - Core Architecture:
DriverInterfacewith Ghostscript, OpenSSL, PDFtk, Chrome, Tesseract drivers.
The next major version will focus on running PDFLib in serverless and distributed environments.
- Implement
S3Driverto handle input/output directly from AWS S3 streams without local temp files if possible (using stream wrappers). - Support for AWS Lambda execution (Serverless PDF manipulation).
- Integrate with Laravel Queues for background processing of heavy tasks (OCR, Compression).
- Webhook callbacks for long-running jobs.
- Deep integration with FPDI to allow:
- Template importing (Letterheads).
- Page rearrangement/deletion within PHP (no external binary needed).
- Advanced text overlay with native font embedding.
- Integration with
spatie/browsershot(Puppeteer) as a robust alternative toChromeHeadlessDriver. - Support for complex CSS Paged Media features.
- Official Docker Image
imalh/pdflibpre-installed withgs,pdftk,tesseract,poppler-utils,chrome.
Open a Discussion to suggest new features!