承接 tkzo/huge-file-streaming-downloader 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tkzo/huge-file-streaming-downloader

最新稳定版本:v1.0.2

Composer 安装命令:

composer require tkzo/huge-file-streaming-downloader

包简介

A streaming downloader for huge file in PHP.

README 文档

README

Build Status GitHub tag Packagist Minimum PHP Version License

This package is streaming downloader for loading huge file from remote. It is possible to save a huge file locally without loading the entire file into memory.

This package is compliant with PSR-4, PSR-1, and PSR-2. If you notice compliance oversights, please send a patch via pull request.

Installation

To install HugeFileStreamingDownloader you can either clone this repository or you can use composer.

composer require tkzo/huge-file-streaming-downloader

Usage

$fileUrl  = 'https://example.com/archive.tar.gz';
$savePath = 'path/to/dest/file.tar.gz';

$loader = new \HugeFileStreamingDownloader\Downloader($fileUrl);
$loader->start($savePath);

There is a complete example of this in example/example.php.

License

MIT License

统计信息

  • 总下载量: 71
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-07