topthink/think-image
The ThinkPHP5 Image Package
Maintainers
v1.0.8
2024-08-07 10:06 UTC
Requires
- ext-gd: *
Requires (Dev)
- phpunit/phpunit: 4.8.*
- topthink/framework: ^5.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Apache-2.0 d1d748cbb2fe2f29fca6138cf96cb8b5113892f1
- yunwuxin <448901948.woop@qq.com>
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(..);
