2017 © Pedro Peláez
 

library image_downloader

Package for downloading images from remote host

image

andreaslancom/image_downloader

Package for downloading images from remote host

  • Thursday, November 19, 2015
  • by andreaslancom
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Image downloader package

This package allows to upload image to server by image url., (*1)

Installation

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)

Usage & Documentation

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)

The Versions

19/11 2015

dev-master

9999999-dev

Package for downloading images from remote host

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires