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

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

estart/image
============

EStart image component, implement thumbnail and watermark features. EStart 图片处理组件，实现生成缩略图和打水印功能。

1.0.2(3y ago)09MITPHPPHP ^8.0

Since Mar 26Pushed 3y agoCompare

[ Source](https://github.com/estart-store/image)[ Packagist](https://packagist.org/packages/estart/image)[ RSS](/packages/estart-image/feed)WikiDiscussions main Synced today

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

易始图片处理组件
========

[](#易始图片处理组件)

（原 windwork image 组件重构）

支持图片缩略图和打水印，兼容各种第三方云存贮。 处理图片后，为方便云存贮处理，不直接保存图片，而是返回图片二进制内容。

安装
--

[](#安装)

通过composer安装

```
composer require estart/image

```

生成缩略图
-----

[](#生成缩略图)

```
use EStart\\image\\ImageFactory;

// 设置源图片内容
$img = ImageFactory::create((file_get_contents('src_image/1.png'));

// 生成200x200的缩略图，超过比例截掉
$imgContent = $img->thumb(200, 200);
// 保存图片
file_put_contents('dist_image/thumb.png.cut_100x200.jpg', $imgContent);

// 生成100x200的缩略图，超过比例则补白色背景
$imgContent = $img->thumb(100, 200, false);
// 保存图片
file_put_contents('dist_image/thumb.png.uncut_100x200.jpg', $imgContent);

// 打水印
$imgContent = $img->watermark('src_image/logo.png');
// 保存图片
file_put_contents('dist_image/water1.jpg', $imgContent);
```

TODO
----

[](#todo)

- gif动态图打水印后返回动态缩略图。
- 增加支持使用ImageMagick库进行处理图片

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Total

2

Last Release

1195d ago

### Community

Maintainers

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

---

Tags

imagethumbthumbnailwaterwarkthumbnailimagegdwatermarkthumb

### Embed Badge

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

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

###  Alternatives

[intervention/image

PHP Image Processing

14.3k208.9M2.6k](/packages/intervention-image)[sybio/image-workshop

Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)

854945.6k12](/packages/sybio-image-workshop)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M182](/packages/intervention-image-laravel)[james-heinrich/phpthumb

The PHP thumbnail generator

317561.0k20](/packages/james-heinrich-phpthumb)[folklore/image

Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa for easy url based manipulation

275248.8k5](/packages/folklore-image)[jbzoo/image

A PHP class that simplifies working with images

174129.4k3](/packages/jbzoo-image)

PHPackages © 2026

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