I’ve released a PHP library for Adding watermark on image or PDF with PHP last year. As of today, it has 43 stars and 15 forks and 16 issues (10 of which are closed).
The Problem with PHP-Watermark
Most of the issues in PHP-Watermark library were coming from one single point – file size and quality issue when watermarking PDF files. Actually, when using the
The Solution – a new CLI tool
So, I’ve created a command line tool for PDF watermarking that will work without converting pages into images. As a result, you’ll get better PDF quality and dramatically smaller file size.
Here is this tool: