o2system/filesystem
Composer 安装命令:
composer require o2system/filesystem
包简介
PHP Filesystem Library
README 文档
README
O2System Filesystem
O2System Filesystem is an Open Source PHP Convenience Library for reading, writing and appending data from and into files and directories, which is built for working more powerfully with O2System Framework, but it also can be used with other frameworks as a standalone version with limited features.
Supported Files Processor and Generator
- CSV File
- INI File
- JSON File
- XML File
- Zip File
Features Handlers
- File Handler and Manipulation
- Directory Handler and Manipulation
- Uploaders
- Downloaders with speed limit and resumeable support
- File Transfer Protocol (FTP)
Composer Installation
The best way to install O2System Filesystem is to use Composer
composer require o2system/filesystem
Packagist: https://packagist.org/packages/o2system/filesystem
Usage
use O2System\Filesystem\Files; // Write a CSV file example $csvFile = new Files\CsvFile(); $csvFile->createFile( 'path/to/files/filename.csv' ); $csvFile->store( 'foo', 'bar' ); $csvFile->writeFile(); // File download handler $downloader = new Handlers\Downloader( 'path/to/files/downloadthis.zip' ); $downloader ->speedLimit( 1024 ) ->resumeable( true ); // Send the requested download file $downloader->download();
Documentation is available on this repository wiki or visit this repository github page.
Ideas and Suggestions
Please kindly mail us at hello@o2system.id
Bugs and Issues
Please kindly submit your issues at Github so we can track all the issues along development and send a pull request to this repository.
System Requirements
- PHP 7.2+ with FileInfo (finfo) extension
- Composer
- O2System Kernel
o2system/filesystem 适用场景与选型建议
o2system/filesystem 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.8k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 04 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「php」 「libraries」 「driver」 「utilities」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 o2system/filesystem 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 o2system/filesystem 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 o2system/filesystem 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Custom libraries for CakePHP framework
O2System PSR it's build based on PHP Framework Interop Group (PHP-FIG) standards recommendations. This repository contains a collection of PHP interfaces based on the PSR-0 until the PSR-7.
Meta-package of Tatter modules for CodeIgniter 4
PHP Cache Handler Library
PHP Document and Element Library.
统计信息
- 总下载量: 1.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-28