vakata / image
Image manipulation helper class
Installs: 3 887
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=7.0.0
Requires (Dev)
- clean/phpdoc-md: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: 4.*
README
PHP helper class for image manipulation (using Imagick or GD - whichever is available).
Install
Via Composer
$ composer require vakata/image
Usage
$image = new \vakata\image\Image('image.png'); header('Content-Type: image/jpeg'); echo $image ->crop(200, 200) ->grayscale() ->rotate(90) ->toJPG();
Read more in the API docs
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email github@vakata.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.