tapakan / image-downloader
PHP lib for download images from remote host
Installs: 48
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tapakan/image-downloader
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: 5.5.*
This package is not auto-updated.
Last update: 2025-10-11 23:54:07 UTC
README
INSTALL
Add to require section
"require" : { "tapakan/image-downloader" : "0.0.1" }
EXAMPLES
require('vendor/autoload.php'); use Tapakan\ImageDownloader\Manager; $manager = new Manager(); $manager->getDownloader()->load('http://example.com/path_to_img'); $manager->getDownloader()->load([ 'http://example.com/path_to_img', 'http://example.com/path_to_img' ]); // Change destination folder $manager = new Manager([ 'dir' => __DIR__ ]); $manager->getDownloader()->load('http://example.com/path_to_img');