2017 © Pedro Peláez
 

library downloadimages

Download images

image

mixaroot/downloadimages

Download images

  • Tuesday, March 7, 2017
  • by mixaroot
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

downloadimages

Example install

composer require mixaroot/downloadimages dev-master --prefer-dist, (*1)

Example Usage

Please create folder images in root of project, (*2)

Please create index.php in root with:, (*3)

require_once "vendor/autoload.php";
$imageTest = 'https://www.w3schools.com/css/paris.jpg';
$class = new Mixaroot\Downloadimages\DownloadImages();
$class->setRemoteUrl($imageTest, true)
    ->setLocalPath($_SERVER['DOCUMENT_ROOT'] . '\\' . 'images\\')
    ->setLocalName('test.jpg');
$copySize = $class->download();

The Versions

07/03 2017

dev-master

9999999-dev

Download images

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Mikhail Shcherbak

gif jpg download png