PHPackages                             gutti3k/pdf-watermarker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. gutti3k/pdf-watermarker

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

gutti3k/pdf-watermarker
=======================

Fork of the Simple PDF Watermarker with Laravel support

v1.0.10(4y ago)0117MITPHPPHP &gt;=7.1.0

Since Mar 12Pushed 4y agoCompare

[ Source](https://github.com/gutti3k/pdf-watermarker)[ Packagist](https://packagist.org/packages/gutti3k/pdf-watermarker)[ RSS](/packages/gutti3k-pdf-watermarker/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (12)Used By (0)

PDF Watermarker
===============

[](#pdf-watermarker)

PDFWatermarker enables you to add a text or an image as a watermark to existing PDF files. It uses FPDF that allows you to write PDF files and FPDI that allows you to import existing PDF documents into FPDF.

Using it, you can:

- Use a text and TTF font to create a watermark
- Use a jpg and png ( with alpha channels ) images with a 96 DPI resolution as a watermark
- Easily position the watermark on the pages of the PDF file

Installation
------------

[](#installation)

Installing using composer

```
composer require gutti3k/pdf-watermarker
```

Usage
-----

[](#usage)

In vanilla PHP you can watermark a PDF with an image in this way:

```
