rndoom04/downloader 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

rndoom04/downloader

最新稳定版本:v1.1

Composer 安装命令:

composer require rndoom04/downloader

包简介

PHP simple file downloader - send file to download.

README 文档

README

A lightweight, robust PHP library for sending files to the browser as a download. It handles MIME types, output buffering, and memory management for you.

Features

  • Automatic MIME Type Detection: Uses the skyzyx/mimetypes component to correctly identify file types.
  • Buffer Management: Automatically clears all output buffers and disables compression to prevent corrupted binary downloads.
  • Resource Efficient: Uses file pointers and streams, making it suitable for serving large files without hitting memory limits.
  • Flexible Sources: Create downloads from existing files or directly from raw strings (e.g., dynamic CSV/logs).

Installation

Install the package via Composer:

composer require rndoom04/downloader

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-11