zxhxx 54f72291b6 add all hai 6 meses
..
src 54f72291b6 add all hai 6 meses
tests 54f72291b6 add all hai 6 meses
.gitignore 54f72291b6 add all hai 6 meses
.travis.yml 54f72291b6 add all hai 6 meses
LICENSE 54f72291b6 add all hai 6 meses
README.md 54f72291b6 add all hai 6 meses
composer.json 54f72291b6 add all hai 6 meses
phpunit.xml 54f72291b6 add all hai 6 meses

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