hrjy e8e630b068 commit преди 1 година
..
src e8e630b068 commit преди 1 година
tests e8e630b068 commit преди 1 година
.gitignore e8e630b068 commit преди 1 година
.travis.yml e8e630b068 commit преди 1 година
LICENSE e8e630b068 commit преди 1 година
README.md e8e630b068 commit преди 1 година
composer.json e8e630b068 commit преди 1 година
phpunit.xml e8e630b068 commit преди 1 година

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