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

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

shirne/think-image
==================

The ThinkPHP5 Image Package

1.0.8(3y ago)0127Apache-2.0PHP

Since Sep 25Pushed 3y agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

The ThinkPHP5 Image Package
===========================

[](#the-thinkphp5-image-package)

[![Build Status](https://camo.githubusercontent.com/5e716d9bbdb4f08b028c7ff1189e9468f55c89a21dd997629efd166aacf094cc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736869726e652f7468696e6b2d696d6167652e737667)](https://travis-ci.org/shirne/think-image)[![Coverage Status](https://camo.githubusercontent.com/90a98dc4e40e87abbb7ed7fedd123ae93a02052ca1b45b06d14c922571c48213/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f736869726e652f7468696e6b2d696d6167652e737667)](https://codecov.io/github/shirne/think-image)[![Downloads](https://camo.githubusercontent.com/0380b07fac910c845cc5a490832afc5855c22184b53a5f6654236b955aff66e8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f736869726e652f7468696e6b2d696d6167652f746f74616c2e737667)](https://github.com/shirne/think-image/releases)[![Releases](https://camo.githubusercontent.com/09fba76a51cfd94c9b86e3d5774e75b81c986dc6a93c2ae765640f7f2f228ebb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736869726e652f7468696e6b2d696d6167652e737667)](https://github.com/shirne/think-image/releases/latest)[![Releases Downloads](https://camo.githubusercontent.com/1c69fb6b050febc0ff1f2f763daf08e259389022d2e053e494ee4ee69cdc0029/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f736869726e652f7468696e6b2d696d6167652f6c61746573742f746f74616c2e737667)](https://github.com/shirne/think-image/releases/latest)[![Packagist Status](https://camo.githubusercontent.com/795f5578c1d883316325626c777f64d412cbdbaefbdada8f628f52ec2d837dd0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736869726e652f7468696e6b2d696d6167652e737667)](https://packagist.org/packages/shirne/think-image)[![Packagist Downloads](https://camo.githubusercontent.com/08bc5778800256ba089f811c09f59e6f6734f589e83f405a9b8d6d2e4a0e4224/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736869726e652f7468696e6b2d696d6167652e737667)](https://packagist.org/packages/shirne/think-image)

安装
--

[](#安装)

> composer require shirne/think-image

使用
--

[](#使用)

```
$image = \think\Image::open('./image.jpg');
或者
$image = \think\Image::open(request()->file('image'));

$image->crop(...)
    ->thumb(...)
    ->water(...)
    ->text(....)
    ->save(..);

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

1331d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03173760b0f51c17a6e94f057c57d9609cbedeb26001be12aca8a2f139721dae?d=identicon)[shirne](/maintainers/shirne)

---

Top Contributors

[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (12 commits)")[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (8 commits)")[![big-dream](https://avatars.githubusercontent.com/u/9215157?v=4)](https://github.com/big-dream "big-dream (2 commits)")[![lifankohome](https://avatars.githubusercontent.com/u/16812870?v=4)](https://github.com/lifankohome "lifankohome (2 commits)")[![shirne](https://avatars.githubusercontent.com/u/2263157?v=4)](https://github.com/shirne "shirne (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/shirne-think-image/health.svg)](https://phpackages.com/packages/shirne-think-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)
