vymakdevel / curldownload
Asynchrone download file via CURL.
1.2.4
2017-12-16 13:21 UTC
Requires
- php: >= 5.3.0
- nette/utils: >= 2.2.0
Requires (Dev)
- nette/tester: 1.*
README
Download file via PHP over curl
Usage:
#!php
require 'vendor/autoload.php';
$data = Vymakdevel\Download::synchroneDownloadOneFile('http://www.seznam.cz');
var_dump($data);
$urls = ['http://www.seznam.cz', 'http://www.google.com', 'http://www.zive.cz'];
$arrayDownload = Vymakdevel\Download::asynchroneDownloadDataByUrlArray($urls);
var_dump($arrayDownload);