webvimark/image
最新稳定版本:1.0.0
Composer 安装命令:
composer require webvimark/image
包简介
Kohana image lib wrapper for yii 2
README 文档
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 webvimark/image "*" or add
"webvimark/image": "*" to the require section of your composer.json file.
Configuration
In your config/web.php
'modules'=>[ ... 'migrations'=>[ 'class'=>'webvimark\modules\migrations\MigrationModule' ], ... ],
In you config/console.php
... 'controllerMap'=>[ 'migrate'=>[ 'class'=>'webvimark\modules\migrations\components\MigrateController', ], ], ...
Include your desired modules in config/console.php
Usage
\webvimark\image\Image::factory($pathFromFile)->resize(500, 300)->save($pathToFile);
统计信息
- 总下载量: 149.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-01-04