PHPackages                             tapakan/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. tapakan/watermark

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

tapakan/watermark
=================

Add watermark to image

1.0.1(10y ago)034MITPHPPHP &gt;=5.3

Since Apr 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Tapakan/Watermark)[ Packagist](https://packagist.org/packages/tapakan/watermark)[ Docs](http://tapakan.github.io/Watermark)[ RSS](/packages/tapakan-watermark/feed)WikiDiscussions master Synced 2mo ago

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

\#ImageBuilder Library that helps you easily add watermark to your images. It can be integrated with any system without problems.

\##Install Edit composer.json file and add next lines in require section.

```
    "require": {
        "tapakan/watermark": "1.0.1"
    }
```

\##Using

```
require 'vendor/autoload.php'

use Tapakan\Watermark\Watermark;

$watermark = new Watermark($arg1, $arg2);

//$arg1 - Path to watermark file. For example: images/watermark.png
//$arg2 - By second argument you can change destination position of watermark. See Available positions sector.

// Then add watermark to someone image.
$watermark->add('/images/image.jpeg');
```

Image will be saved with same name and to the same directory.

### Available Positions

[](#available-positions)

There are 5 available constants to change the destination position of watermark.

CONSTANTPOSITIONRIGHT\_TOP\_CORNERRight top.
 Margin from borders 10pxRIGHT\_DOWN\_CORNERRight down.
 Margin from borders 10pxLEFT\_TOP\_CORNERLeft top.
 Margin from borders 10pxLEFT\_DOWN\_CORNERLeft down.
 Margin from borders 10pxMIDDLE\_CENTERMiddle.EVERYWHERE `new`Duplicating a watermark across the image.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

3663d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.6

1.0.1PHP &gt;=5.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c6f4120f89aaab0a5def7ae01d5cbd7efe4d60a453f2d721b7a6b437168a810?d=identicon)[Tapakan](/maintainers/Tapakan)

---

Top Contributors

[![Tapakan](https://avatars.githubusercontent.com/u/6270205?v=4)](https://github.com/Tapakan "Tapakan (42 commits)")

---

Tags

phpimagewatermark

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tapakan-watermark/health.svg)

```
[![Health](https://phpackages.com/badges/tapakan-watermark/health.svg)](https://phpackages.com/packages/tapakan-watermark)
```

###  Alternatives

[aplus/image

Aplus Framework Image Library

2211.6M1](/packages/aplus-image)[lciolecki/php-image-optimizer

PHP image file optimizer (uses https://github.com/bensquire/php-image-optim)

347.4k](/packages/lciolecki-php-image-optimizer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
