sana/yii2-image-by-url
Composer 安装命令:
composer require sana/yii2-image-by-url
包简介
Расширение для загрузки картинки по URL (jpg, png, gif).
关键字:
README 文档
README
Расширение для загрузки картинки по URL (jpg, png, gif).
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist sana/yii2-image-by-url "*"
or add
"sana/yii2-image-by-url": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?php
namespace app\commands;
use yii\console\Controller;
use sana\image\Loader;
class LoadController extends Controller
{
public function actionLoad($from, $to)
{
$loader = new Loader();
$loader->load($from,$to);
}
}
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-16