lagman / yii-phpthumb
Yii wrapper for PHPThumb
Installs: 305
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:yii-extension
Requires
- php: >=5.4.0
- masterexploder/phpthumb: dev-master
- yiisoft/yii: *
This package is auto-updated.
Last update: 2024-10-17 19:41:38 UTC
README
By Alexey Samoylov (alexey.samoylov@gmail.com).
Requirements
- PHP 5.4
- Yii 1.x
Examples
Component configuration example:
'components' => [ 'phpThumb' => [ 'class' => 'vendor.lagman.yii-phpthumb.YiiPhpThumb', ], ]
Usage example:
$thumb = Yii::app()->phpThumb->create($path); $thumb->adaptiveResize(100, 100)->show();