Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1013 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 1013 Bytes

The Image Package

Latest Version Build Status Php Version Packagist Status Packagist Downloads

安装

composer require fenghoer/think-image:dev-master

使用

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


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

## water 接口在原基础上支持了对string格式水印图片资源的兼容