jmluang/think-image

The ThinkPHP5 Image Package

v1.0.11 2020-10-10 07:26 UTC

This package is auto-updated.

Last update: 2024-05-10 15:14:30 UTC


README

Downloads Releases Packagist Status Packagist Downloads

安装

composer require jmluang/think-image

使用

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


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