Download the PHP package lezhnev74/simple-downloader without Composer
On this page you can find all versions of the php package lezhnev74/simple-downloader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lezhnev74/simple-downloader
More information about lezhnev74/simple-downloader
Files in lezhnev74/simple-downloader
Download lezhnev74/simple-downloader
More information about lezhnev74/simple-downloader
Files in lezhnev74/simple-downloader
Vendor lezhnev74
Package simple-downloader
Short Description Simple file downloader
License Apache-2.0
Homepage https://github.com/lezhnev74/SimpleDownloader
Package simple-downloader
Short Description Simple file downloader
License Apache-2.0
Homepage https://github.com/lezhnev74/SimpleDownloader
Keywords downloadersimple downloader
Please rate this library. Is it a good library?
Informations about the package simple-downloader
Downloader Bundle
Simple Downloader (forked from kodify/DownloaderBundle but with no dependency on Symfony framework)
What is this Downloader?
It's a simple yet functional downloader that simply makes what it says in the tin, downloads the url specified in the specified path.
Installation
PHP 5.6+
Install PHP 5.6+ to use it
Composer:
Add the following dependencies to your projects composer.json file:
composer require lezhnev74/simple-downloader
Usage
use Exception;
use InvalidArgumentException;
use SimpleDownloader\Classes\Downloader;
use SimpleDownloader\Exceptions\FileException;
try {
$downloader = new Downloader();
$downloader->downloadFile("http://google.com/robots.txt", "/tmp", "robots.txt");
echo "File was downloaded successfully!";
} catch(FileException $e) {
echo "We have a problem with file: ".$e->getMessage();
} catch(InvalidArgumentException $e) {
echo "Wrong arguments are passed: ".$e->getMessage();
} catch(Exception $e) {
echo "Something bad happened: ".$e->getMessage();
}All versions of simple-downloader with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package lezhnev74/simple-downloader contains the following files
Loading the files please wait ...