PHPackages                             ajaxray/php-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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. ajaxray/php-watermark

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

ajaxray/php-watermark
=====================

Add text or image watermark on images.

v0.1.2(4y ago)148233.2k↓10.9%46[2 issues](https://github.com/ajaxray/php-watermark/issues)[1 PRs](https://github.com/ajaxray/php-watermark/pulls)MITPHPPHP &gt;=5.6 &lt;8

Since Mar 3Pushed 2y ago6 watchersCompare

[ Source](https://github.com/ajaxray/php-watermark)[ Packagist](https://packagist.org/packages/ajaxray/php-watermark)[ Docs](http://github.com/ajaxray/php-watermark)[ RSS](/packages/ajaxray-php-watermark/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

PHPWatermark
============

[](#phpwatermark)

[![SensioLabsInsight](https://camo.githubusercontent.com/7ba355970dd0ddab15710f4095ade297a09ed9bdade741d907629094a27c5ebf/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f64663031323565352d343633652d343133352d626663322d3235326465633132306663332f6269672e737667)](https://insight.symfony.com/projects/cf8fe138-7232-4390-a3c6-f9e509221353)[![Latest Stable Version](https://camo.githubusercontent.com/fbbbb8bb40497acbfa21c13018c943fe1926b4927ff26d99b443998856860035/68747470733a2f2f706f7365722e707567782e6f72672f616a61787261792f7068702d77617465726d61726b2f762f737461626c65)](https://packagist.org/packages/ajaxray/php-watermark)[![Build Status](https://camo.githubusercontent.com/f10f50612f01ccb106284f15baecfb31a2ccb6d30b1a96d7c944eaf15cd2f6b7/68747470733a2f2f7472617669732d63692e6f72672f616a61787261792f7068702d77617465726d61726b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ajaxray/php-watermark)[![Coverage Status](https://camo.githubusercontent.com/245c6f3a104d2364e3028b777fb3337c64527c219148b5dfc9e6252938d581da/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f616a61787261792f7068702d77617465726d61726b2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/ajaxray/php-watermark?branch=master)[![Total Downloads](https://camo.githubusercontent.com/11e0395c2acf63fc5151ff68070142e2b7bfc0a333542fdbd156f7f851f6754d/68747470733a2f2f706f7365722e707567782e6f72672f616a61787261792f7068702d77617465726d61726b2f646f776e6c6f616473)](https://packagist.org/packages/ajaxray/php-watermark)[![License](https://camo.githubusercontent.com/21e6667468ed87d4b261da35333ac1bc6765b50a415f86d742f9f75ba79f691e/68747470733a2f2f706f7365722e707567782e6f72672f616a61787261792f7068702d77617465726d61726b2f6c6963656e7365)](https://packagist.org/packages/ajaxray/php-watermark)

Add text or image Watermark on image and PDF using PHP and [ImageMagick](http://www.imagemagick.org "ImageMagick Command line tool").

### Pre-requisite

[](#pre-requisite)

- PHP (version 5.6 or higher)
- [ImageMagick](http://www.imagemagick.org "ImageMagick Command line tool")
- [ghostscript](https://www.ghostscript.com/ "GhostScript") (only for PDF watermarking)

*PHP [ImageMagick](http://php.net/manual/en/book.imagick.php "PHP ImageMagick Extension") extension is **not required**.*

### Installation

[](#installation)

Add as a dependency with composer

```
$ composer require ajaxray/php-watermark
```

Or download latest version as a [Zip file](https://github.com/ajaxray/php-watermark/archive/master.zip).

For PHP versions `>= 5.6` to `
