PHPackages                             yebto/watermark-api - 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. [API Development](/categories/api)
4. /
5. yebto/watermark-api

ActiveLibrary[API Development](/categories/api)

yebto/watermark-api
===================

PHP SDK for the YEB Watermark API. Add text, image, pattern watermarks to images, PDFs, video and audio.

00PHP

Since Mar 6Pushed 2mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

YEB WatermarkAPI
================

[](#yeb-watermarkapi)

PHP SDK for the YEB Watermark API. Add text, image, pattern watermarks to images, PDFs, video and audio.

Works standalone (plain PHP) or with Laravel (Facade + auto-discovery).

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

[](#requirements)

- PHP 8.1+
- cURL extension
- [YEB API Key](https://yeb.to) (free tier available)

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

[](#installation)

```
composer require yebto/watermark-api
```

Standalone Usage
----------------

[](#standalone-usage)

```
use Yebto\WatermarkAPI\WatermarkAPI;

$api = new WatermarkAPI(['key' => 'your-api-key']);
$result = $api->addText('example');
```

Laravel Usage
-------------

[](#laravel-usage)

Add your API key to `.env`:

```
YEB_KEY_ID=your-api-key

```

Use via Facade:

```
use WatermarkAPI;

$result = WatermarkAPI::addText('example');
```

Or via dependency injection:

```
use Yebto\WatermarkAPI\WatermarkAPI;

public function handle(WatermarkAPI $api)
{
    $result = $api->addText('example');
}
```

### Publish Config

[](#publish-config)

```
php artisan vendor:publish --tag=yebto-watermark-config
```

Available Methods
-----------------

[](#available-methods)

MethodDescription`addText($text)`Add a text watermark`addImage()`Add an image watermark`addPattern()`Add a repeating pattern watermark`addCode()`Add a barcode/QR code watermark`addAudio()`Add an audio watermark`preview()`Preview a watermark before applying`batch()`Batch watermark multiple files`batchRemove()`Batch remove watermarks`batchStatus($batch_id)`Check batch job status`templates()`List watermark templates`templateSave()`Save a watermark template`templateDelete($template_id)`Delete a watermark template`detect()`Detect watermarks in a file`verify()`Verify a watermark`remove()`Remove a watermark from a file`status($job_id)`Check watermark job status`download($job_id)`Download a watermarked file`brandKitSave()`Save a brand kit`brandKitList()`List brand kits`brandKitDelete($brand_kit_id)`Delete a brand kit`decodeCode()`Decode a barcode/QR watermark`readCode()`Read a barcode/QR watermark from fileAll methods accept an optional `$extra` array parameter for additional API options.

Error Handling
--------------

[](#error-handling)

```
use Yebto\ApiClient\Exceptions\ApiException;
use Yebto\ApiClient\Exceptions\AuthenticationException;
use Yebto\ApiClient\Exceptions\RateLimitException;

try {
    $result = $api->addText('example');
} catch (AuthenticationException $e) {
    // Missing or invalid API key (401)
} catch (RateLimitException $e) {
    // Too many requests (429)
} catch (ApiException $e) {
    echo $e->getMessage();
    echo $e->getHttpCode();
}
```

Free API Access
---------------

[](#free-api-access)

Register at [yeb.to](https://yeb.to) with Google OAuth to get a free API key.

Support
-------

[](#support)

- API Documentation:
- Email:
- Issues: [GitHub Issues](https://github.com/yebto/watermark-api/issues)

License
-------

[](#license)

MIT - NETOX Ltd.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance58

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/57d7e2ce619fb0a25c0b8ebf53ab60f9aba259cbb926f697dc0cb6b5349dea85?d=identicon)[yebto](/maintainers/yebto)

---

Top Contributors

[![yebto](https://avatars.githubusercontent.com/u/217711937?v=4)](https://github.com/yebto "yebto (2 commits)")

---

Tags

apilaravelphpsdkyeb

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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