PHPackages                             rafiki23/watermarkcredits - 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. rafiki23/watermarkcredits

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

rafiki23/watermarkcredits
=========================

WatermarkCredits is a Laravel package that enables the easy application of watermarks with logo and author information onto images.

0.0.2(2y ago)05MITPHPPHP ^7.4 || ^8.0 || ^8.1

Since Dec 4Pushed 2w ago1 watchersCompare

[ Source](https://github.com/Rafiki23/WatermarkCredits)[ Packagist](https://packagist.org/packages/rafiki23/watermarkcredits)[ RSS](/packages/rafiki23-watermarkcredits/feed)WikiDiscussions main Synced 2d ago

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

WatermarkCredits
================

[](#watermarkcredits)

WatermarkCredits is a Laravel package for easily applying watermarks logo and author information on images.

It provides a straightforward interface for applying custom watermarks with adjustable opacity levels and the option to add supplemental text.

This is perfect for photographers, content creators, and businesses looking to protect their work and ensure proper authorship attribution on their images.

[![Add your logo and author name on image](watermark_preview.jpg)](watermark_preview.jpg)

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

[](#installation)

Install the package via composer:

```
composer require rafiki23/watermarkcredits
```

Add the service provider to your `config/app.php` file:

```
'providers' => [
    // Other Service Providers

    Rafiki23\WatermarkCredits\WatermarkServiceProvider::class,
],
```

Publish the configuration file:

```
php artisan vendor:publish --provider="Rafiki23\WatermarkCredits\WatermarkServiceProvider" --tag="config"
```

Configuration
-------------

[](#configuration)

After publishing the configuration file, it is located at `config/watermark.php`. You can modify it to set your default configurations.

```
return [
    'opacity' => 0.6, // 60% opacity
    'rectangle_color' => [0, 0, 0, 0.6], // black with 50% opacity
    'text_color' => '#ffffff', // white
    'font_size' => 24, // default font size
    'font_path' => resource_path('fonts/Arial.ttf'), // path to the font file, assuming Arial.ttf is in the "fonts" folder under "resources"
    'font_ratio' => 0.1, // font size as a ratio of image height
    'default_logo_path' => resource_path('img/yourlogo.png'), // Default logo path, if you have a standard logo you want to use
];
```

Usage
-----

[](#usage)

Here's how you can use the WatermarkCredits package:

```
use Rafiki23\WatermarkCredits\Watermark;

$watermark = new Watermark();

// Apply watermark to an image
$watermark->applyWatermark('path/to/image.jpg', 'Author name')->save('path/to/output/image.jpg');
```

You can also specify a custom logo:

```
$watermark->applyWatermark('path/to/image.jpg', 'Author name', 'path/to/your/custom/logo.png')->save('path/to/output/image.jpg');
```

License
-------

[](#license)

The WatermarkCredits package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance63

Regular maintenance activity

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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 ~1 days

Total

2

Last Release

940d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/da4d3543297a3a1568859d18d4beec197335e58e0f322edc001c907f097a9643?d=identicon)[itsport](/maintainers/itsport)

---

Top Contributors

[![Rafiki23](https://avatars.githubusercontent.com/u/7938152?v=4)](https://github.com/Rafiki23 "Rafiki23 (8 commits)")

### Embed Badge

![Health badge](/badges/rafiki23-watermarkcredits/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)[justbetter/statamic-image-optimize

Image optimization after upload

1319.4k](/packages/justbetter-statamic-image-optimize)

PHPackages © 2026

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