uzzielpelawak / image
Kohana image lib wrapper for yii 2
Installs: 38
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
pkg:composer/uzzielpelawak/image
This package is auto-updated.
Last update: 2025-10-08 20:32:18 UTC
README
Image manipulations (resize, crop, watermark, etc)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist uzzielpelawak/image "*"
or add
"uzzielpelawak/image": "*"
to the require section of your composer.json
file.
Configuration
In your config/web.php
'modules'=>[ ... 'migrations'=>[ 'class'=>'uzzielpelawak\modules\migrations\MigrationModule' ], ... ],
In you config/console.php
... 'controllerMap'=>[ 'migrate'=>[ 'class'=>'uzzielpelawak\modules\migrations\components\MigrateController', ], ], ...
Include your desired modules in config/console.php
Usage
\uzzielpelawak\image\Image::factory($pathFromFile)->resize(500, 300)->save($pathToFile);