Kirin 93a3391a21 init il y a 11 mois
..
src 93a3391a21 init il y a 11 mois
tests 93a3391a21 init il y a 11 mois
.DS_Store 93a3391a21 init il y a 11 mois
.gitignore 93a3391a21 init il y a 11 mois
.travis.yml 93a3391a21 init il y a 11 mois
LICENSE 93a3391a21 init il y a 11 mois
README.md 93a3391a21 init il y a 11 mois
composer.json 93a3391a21 init il y a 11 mois
phpunit.xml 93a3391a21 init il y a 11 mois

README.md

The ThinkPHP5 Image Package

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(..);