desarrolla2/file
最新稳定版本:0.1.0
Composer 安装命令:
composer require desarrolla2/file
包简介
Provide simple api to read and write files
README 文档
README
This provide a simple api to read and write files
Installation
With Composer
It is best installed it through packagist
by including desarrolla2/file in your project composer.json require:
"require": { // ... "desarrolla2/file": "*" }
Without Composer
You can also download it from [Github] (https://github.com/desarrolla2/File), but no autoloader is provided so you'll need to register it with your own PSR-4 compatible autoloader.
Usage
<?php require __DIR__ . '/../vendor/autoload.php'; use Desarrolla2\File\File; // Simple api to write file File::write($fileName,$data); // Simple api to read file File::read($fileName);
Formats
Current supported formats are:
- File: raw data
- Json: encode arrays to json files.
Contact
You can contact with me on @desarrolla2.
统计信息
- 总下载量: 2.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-23