paranoiq/php-zip
最新稳定版本:v1.40
Composer 安装命令:
composer require paranoiq/php-zip
包简介
A pair of PHP classes to generate zip files
README 文档
README
A pair of PHP classes to generate zip files. The projects that started these two classes are hosted on PHPClasses.org at the addresses: Zip : http://www.phpclasses.org/package/6110 ZipStream: http://www.phpclasses.org/package/6616 Zip.php generates the Zip file in memory (or tempfile) allowing the parent script to save the final Zip file elsewhere, and/or send it to the user. ZipStream has much of the same features and functions of Zip.php, with a few notable differences, it does not cache and build the zip file on the server, instead it'll send the file to the user as a stream. See the examples for example usage. The php files have "some" doumentation in them in the form of Javadoc style function headers. NOTE: Please ensure that output buffering is disabled when using especially ZipStream. It defeats the purpose of the class, and large zip files may cause a memory exceeded exception. NOTE2: THe Zip and ZipStream classes support UTF-8 in file paths and file comments, and will autodetect UTF-8 strings to that end, however it is up to the user to ensure that other Multibyte chracter sets aren't sent to the class. TODO: * Add compression level (at least "compress or store") to ZipStream, and to the Large file option on Zip.php * Documentation, no one reads it, but everyone complains if it is missing. * Better examples to fully cover the capabilities of the Zip classes. * more TODO's.
paranoiq/php-zip 适用场景与选型建议
paranoiq/php-zip 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.05k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2013 年 11 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 paranoiq/php-zip 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 paranoiq/php-zip 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 14.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1
- 更新时间: 2013-11-06