youlead-bow / phpthumb
A library for manipulating images in PHP.
Requires
- php: >=7.3.0
- ext-gd: *
README
PHP Thumb
NOTICE -
This project was recently updated to 2.0 and is PSR-0 compliant and supports Composer integration. Some parts of the documentation are incorrect as they haven't been updated for the new version. Your 1.0 code is not compatible with 2.0! Please review the updated examples for how to use the new version.
PHP Thumb is a light-weight image manipulation library aimed at thumbnail generation. It features the ability to resize by width, height, and percentage, create custom crops, or square crops from the center, and rotate the image. You can also easily add custom functionality to the library through plugins. It also features the ability to perform multiple manipulations per instance (also known as chaining), without the need to save and re-initialize the class with every manipulation.
Documentation / Help
- Documentation - Your best friend, the library docs
License
PHP Thumb is released under MIT license.