PHPackages                             tuckdesign/add-watermark - 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. [Image &amp; Media](/categories/media)
4. /
5. tuckdesign/add-watermark

ActiveLibrary[Image &amp; Media](/categories/media)

tuckdesign/add-watermark
========================

Adds watermark to pdf or image

0.1.2(11mo ago)016MITPHPPHP &gt;=8.1

Since Jul 28Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/tuckdesign/add-watermark)[ Packagist](https://packagist.org/packages/tuckdesign/add-watermark)[ RSS](/packages/tuckdesign-add-watermark/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

AddWatermark is a library written in pure PHP that provides class that allows you to add watermark text to pdf or image files.

- [Requirements](#requirements)
- [Installation](#installation)
- [Getting started](#getting-started)

Requirements
------------

[](#requirements)

AddWatermark requires the following:

- PHP 8.1+
- [GD extension](http://php.net/manual/en/book.image.php)

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

[](#installation)

AddWatermark is installed via [Composer](https://getcomposer.org/). To [add a dependency](https://getcomposer.org/doc/04-schema.md#package-links) to AddWatermark in your project, either

Run the following to use the latest stable version

```
composer require tuckdesign/add-watermark
```

or if you want the latest unreleased version

```
composer require tuckdesign/add-watermark
```

Getting started
---------------

[](#getting-started)

The following is a basic usage example of the AddWatermark library.

```
