topthink/think-image

The ThinkPHP5 Image Package

Maintainers

👁 topthink

Package info

github.com/top-think/think-image

pkg:composer/topthink/think-image

Statistics

Installs: 455 299

Dependents: 41

Suggesters: 0

Stars: 63

Open Issues: 11

v1.0.8 2024-08-07 10:06 UTC

Requires

  • ext-gd: *

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Apache-2.0 d1d748cbb2fe2f29fca6138cf96cb8b5113892f1

  • yunwuxin <448901948.woop@qq.com>

This package is auto-updated.

Last update: 2026-06-08 03:26:10 UTC


README

👁 Build Status
👁 Coverage Status
👁 Downloads
👁 Releases
👁 Releases Downloads
👁 Packagist Status
👁 Packagist Downloads

安装

composer require topthink/think-image

使用

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


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