承接 desarrolla2/file 相关项目开发

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

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

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

Build Status Latest Stable Version Total Downloads

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-23