dev-master
9999999-devPackage for downloading images from remote host
MIT
The Requires
- php >=5.4.0
The Development Requires
Package for downloading images from remote host
This package allows to upload image to server by image url., (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
composer require andreaslancom/image_downloader:dev-master
or add, (*4)
"andreaslancom/image_downloader": "dev-master"
to the require
section of your composer.json., (*5)
This package allows to upload image to server by image url., (*6)
The following example shows how to use this package:, (*7)
use image\download\ImageDownloader; // download an image $imageDownloader = new ImageDownloader(); $imageDownloader->download( 'http://some_image_addr.ext', 'project_root_path'.DIRECTORY_SEPARATOR.'writable_directory' );
Note if upload directory $dir not exists that the system tries to create this, (*8)
Package for downloading images from remote host
MIT