makklays / yii2-upload-remote-photos
Upload photos from remote host and save it on system of file (site) for the Yii2 framework
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.3.0
- yiisoft/yii2: ~2.0.0
Requires (Dev)
- phpunit/phpunit: >=4.0
This package is not auto-updated.
Last update: 2025-06-14 18:46:40 UTC
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);