jstewmc/read-file 问题修复 & 功能扩展

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

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

jstewmc/read-file

Composer 安装命令:

composer require jstewmc/read-file

包简介

Read a file

README 文档

README

Read a file.

use Jstewmc\ReadFile\Read;

file_put_contents('/path/to/foo.txt', 'foo');

(new Read())('/path/to/foo.txt');  // returns 'foo'

This library is a very simple read file service (see jstewmc/write-file for a simple write file service).

This library wraps PHP's native file_get_contents() with a little robust error checking. If the file does not exist, the path is not actually a file, or the file is not readable, an InvalidArgumentException will be thrown.

That's it!

Author

Jack Clayton

License

MIT

Version

0.1.0, August 31, 2016

  • Initial release

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固