Skip to content

zhyfor/think-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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格式水印图片资源的兼容

About

thinkphp5 图像处理类

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%