vymakdevel/curldownload

Asynchrone download file via CURL.

1.2.4 2017-12-16 13:21 UTC

This package is auto-updated.

Last update: 2024-10-18 23:35:42 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);