centralapps / image-manager
Image Management Tool
dev-master / 1.0.x-dev
2012-08-04 23:02 UTC
Requires
- php: >=5.3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-08-23 13:14:50 UTC
README
This is a simple tool for resizing, scaling, rendering and uploading images with PHP.
Installation
The easiest way to install this tool is using composer. Create the following composer.json file in the root of your project.
{
"require": {
"centralapps/image-manager": "dev-master"
}
}
Then run composer to download and install the component.
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install
Usage
$imageTools = new \CentralApps\ImageManager\Tools();
$imageTools->loadFromFile('/var/www/original.png');
$imageTools->resizeScaleHeight(150);
$imageTools->save('/var/www/newfile.png');