PHPackages                             itdream/image - 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. itdream/image

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

itdream/image
=============

A image SDk

0.3(7y ago)17MITPHP

Since Sep 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zhumingzhen/image)[ Packagist](https://packagist.org/packages/itdream/image)[ RSS](/packages/itdream-image/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)DependenciesVersions (6)Used By (0)

image
=====

[](#image)

图片水印处理，快速添加水印，无需扩展包

安装
--

[](#安装)

```
$ composer require itdream/image -vvv
```

使用
--

[](#使用)

```
use Itdream\Image\Image;

$image = new Image(
        '背景图片绝对路径',
        ‘保存图片绝对路径’,
        'JPG'  // 可选参数 GIF JPG PNG
    );

// 添加文字水印
echo $w->word(
        '恭喜1212121！',  // 文字
        '/fonts/msyh.ttf',  // 字体
        '28',  // 字体大小
        ['51','51','51'],  // RGB颜色
        ['100','288'],  // 文字相对左上角 起始位置
        'center'  // 居中设置
        );
// 添加图片水印
echo $w->img(
        'logo.png',  // 水印图片
        ['10', '10'], //  图片相对左上角 起始位置
        'center',  // 居中设置
    );
```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

4

Last Release

2797d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15607276?v=4)[itdream](/maintainers/zhumingzhen)[@zhumingzhen](https://github.com/zhumingzhen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/itdream-image/health.svg)

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

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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