2017 © Pedro PelĂĄez
 

library hups-util-filedownloader

PHP file downloader. Supports large files and resuming downloads.

image

shakahl/hups-util-filedownloader

PHP file downloader. Supports large files and resuming downloads.

  • Sunday, March 15, 2015
  • by shakahl
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 11 % Grown

The README.md

File Downloader

File downloader utility. This package is a part of the Hups Framework.  , (*1)

Features

  • Large file download support
  • Resumable downloads
  • Download speed limitation
  • Low memory usage
  • Costumizable headers

Installation

https://packagist.org/packages/shakahl/hups-util-filedownloader, (*2)

Add shakahl/hups-util-filedownloader as a requirement to composer.json:, (*3)

{
    "require": {
        "shakahl/hups-util-filedownloader": "dev-master"
    }
}

Update your packages with composer update or install with composer install., (*4)

You can also add the package using composer require shakahl/hups-util-filedownloader and later specifying the version you want (for now, dev-master is your best bet)., (*5)

Usage example

<?php  
\Hups\Util\FileDownloader::download('/path/to/large_file_to_download');
?>

Unit testing

Under Windows

$ composer update
$ vendor/bin/phpunit​.bat

 , (*6)

Under Linux

$ composer update
$ vendor/bin/phpunit​

The Versions

15/03 2015

dev-master

9999999-dev https://github.com/shakahl/hups-util-filedownloader

PHP file downloader. Supports large files and resuming downloads.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

file php download resume large