romanmaroder / phpthumb
A library for manipulating images in PHP.
Requires
- php: >=7.4
- ext-gd: *
- phpunit/phpunit: ^9.5
This package is not auto-updated.
Last update: 2024-10-26 21:03:58 UTC
README
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.
More information and documentation is available at the project's wiki: https://github.com/PHPThumb/PHPThumb/wiki
Documentation / Help
I've tried to thoroughly document things as best I can, but here's a list of places to find documentation / help:
- Documentation - Your best friend, the library docs
- Forums - Got questions, comments, or feedback? This is the place to visit
License
PHP Thumb is released under MIT license.