zxhxx 45691bf4d8 1 пре 3 година
..
src 45691bf4d8 1 пре 3 година
tests 45691bf4d8 1 пре 3 година
.gitignore 45691bf4d8 1 пре 3 година
.travis.yml 45691bf4d8 1 пре 3 година
LICENSE 45691bf4d8 1 пре 3 година
README.md 45691bf4d8 1 пре 3 година
composer.json 45691bf4d8 1 пре 3 година
phpunit.xml 45691bf4d8 1 пре 3 година

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