Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shakahl/hups-util-filedownloader
PHP file downloader. Supports large files and resuming downloads.
https://github.com/shakahl/hups-util-filedownloader
Last synced: about 1 month ago
JSON representation
PHP file downloader. Supports large files and resuming downloads.
- Host: GitHub
- URL: https://github.com/shakahl/hups-util-filedownloader
- Owner: shakahl
- License: mit
- Created: 2015-03-15T04:49:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:33:50.000Z (about 1 year ago)
- Last Synced: 2024-01-15T12:53:37.340Z (12 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
File Downloader
===============File downloader utility. This package is a part of the Hups Framework.
Features
--------- Large file download support
- Resumable downloads
- Download speed limitation
- Low memory usage
- Costumizable headersInstallation
------------https://packagist.org/packages/shakahl/hups-util-filedownloader
Add `shakahl/hups-util-filedownloader` as a requirement to `composer.json`:
```javascript
{
"require": {
"shakahl/hups-util-filedownloader": "dev-master"
}
}
```Update your packages with `composer update` or install with `composer install`.
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).
Usage example
-------------~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unit testing
------------### Under Windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ composer update
$ vendor/bin/phpunit.bat
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
### Under Linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ composer update
$ vendor/bin/phpunit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~