makklays/yii2-upload-remote-photos
Composer 安装命令:
composer require makklays/yii2-upload-remote-photos
包简介
Upload photos from remote host and save it on system of file (site) for the Yii2 framework
README 文档
README
[en] Install with composer [ru] Установка с composercomposer require makklays/yii2-upload-remote-photos
INFORMATION / ИНФОРМАЦИЯ
[en] Upload photos (jpg, png, gif) from remote host and save it on system of file (your site) for the Yii2 framework [ru] Загрузка фотографий (jpg, png, gif) с удаленного хоста и сохранение их на Файловой системеUSE / ИСПОЛЬЗОВАНИЕ
use makklays\uploadRemotePhotos;$remoteUrl = 'http://your_site_name/dir_with_photos'; $pathDir = Yii::$app->basePath . '/web/new_dir_with_photos';
$up = new upload-remote-photos\uploadRemotePhotos('up'); $up->upload($remoteUrl, $pathDir);
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-20