定制 sndsgd/fs 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sndsgd/fs

最新稳定版本:0.4.5

Composer 安装命令:

composer require sndsgd/fs

包简介

A filesystem toolkit for PHP

README 文档

README

Latest Version Software License Build Status Coverage Status Total Downloads

A filesystem toolkit for PHP.

Why?

The classes in sndsgd\fs attempt to simplify tedious filesystem tasks.

use \sndsgd\Fs;

# lets assume `/tmp/some` doesn't exist
$path = "/tmp/some/deep/path/file.txt";

# write to a file that doesn't exist in a directory that doesn't exist
$file = Fs::getFile($path);
if ($file->write("the contents...") === false) {
   throw new Exception($file->getError());
}

Requirements

This project is unstable and subject to changes from release to release. If you intend to depend on this project, be sure to make note of and specify the version in your project's composer.json. Doing so will ensure any breaking changes do not break your project.

You need PHP >= 7.0.0 to use this library.

Install

Install sndsgd/fs using Composer.

composer require sndsgd/fs

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-15