Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

indigophp/flysystem-http-downloader

Repository files navigation

Flysystem HTTP Downloader

Latest Version Software License Build Status Code Coverage Quality Score HHVM Status Total Downloads Dependency Status

Download any HTTP content to a file.

Install

Via Composer

$ composer require indigophp/flysystem-http-downloader

Usage

Simple downloader usage:

use Indigo\Flysystem\Downloader;
use League\Flysystem\Filesystem;
use Ivory\HttpAdapter\HttpAdapterInterface;
use Psr\Http\Message\RequestInterface;

$downloader = new Downloader(new Filesystem, /* HttpAdapterInterface */);

$request = /* RequestInterface */;

$downloader->download($request, 'path/to/file');

Testing

$ phpspec run

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Download any HTTP content to a file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages