h2akim / pdfwatermarker
PDF Watermarking Package
dev-master
2017-11-22 04:22 UTC
Requires
- setasign/fpdi-fpdf: ^2.0
This package is not auto-updated.
Last update: 2024-12-22 06:00:39 UTC
README
Installation
composer require h2akim/pdfwatermarker:dev-master
Usage
<?php use PdfWatermarker\PdfWatermarker; $watermarker = new PdfWatermarker( 'input.pdf', // input 'output.pdf', // output 'watermark.png', // watermark file 'center', // watermark position (topleft, topright, bottomleft, bottomright, center) true // set to true - replace original input file ); $watermarker->create();