vymakdevel/curldownload

Asynchrone download file via CURL.

1.2.3 2014-09-15 11:05 UTC

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);