ty666 / image
This package is abandoned and no longer maintained.
The author suggests using the ty666/image package instead.
Image handling and manipulation library with support for Laravel integration
2.3.14
2017-06-13 13:25 UTC
Requires
- php: >=5.4.0
- ext-fileinfo: *
- guzzlehttp/psr7: ~1.1
Requires (Dev)
- mockery/mockery: ~0.9.2
- phpunit/phpunit: 3.*
Suggests
- ext-gd: to use GD library based image processing.
- ext-imagick: to use Imagick based image processing.
- intervention/imagecache: Caching extension for the Intervention Image library
This package is not auto-updated.
Last update: 2017-06-25 17:33:44 UTC
README
Intervention Image is a PHP image handling and manipulation library providing an easier and expressive way to create, edit, and compose images. The package includes ServiceProviders and Facades for easy Laravel integration.
Requirements
- PHP >=5.4
- Fileinfo Extension
Supported Image Libraries
- GD Library (>=2.0)
- Imagick PHP extension (>=6.5.7)
Getting started
Code Examples
// open an image file $img = Image::make('public/foo.jpg'); // resize image instance $img->resize(320, 240); // insert a watermark $img->insert('public/watermark.png'); // save image in desired format $img->save('public/bar.jpg');
Refer to the documentation to learn more about Intervention Image.
Contributing
Contributions to the Intervention Image library are welcome. Please note the following guidelines before submiting your pull request.
- Follow PSR-2 coding standards.
- Write tests for new functions and added features
- API calls should work consistently with both GD and Imagick drivers
License
Intervention Image is licensed under the MIT License.
Copyright 2014 Oliver Vogel