galifax/img-url-download

Download image from url to file system

dev-master 2019-01-09 09:12 UTC

This package is auto-updated.

Last update: 2024-10-09 21:34:22 UTC


README

This package use to download image from url to your file system

Instalation

paste to composer.json

"require": {
    ...
        "galifax/img-url-download": "dev-master"
    ...
}

Then run in console command

composer update 

Usage

require_once "vendor/autoload.php";

use Galifax\Image;

$url = https//exaple.com; // image url (.png, .jpg, .gif);

Image::download($url);