定制 ambimax/php-lib-file 二次开发

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

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

ambimax/php-lib-file

最新稳定版本:2.1.2

Composer 安装命令:

composer require ambimax/php-lib-file

包简介

README 文档

README

This Library is a abstraction for interactions with files

Remotes

Remote are extensions of the base File Class which are used to other systems.

Implementet Protocols:

Quick Start

Installation

composer require ambimax/php-lib-file

Basic Usage

Create File Object

Creating of a File Object goes mostly analogous to fopen

1. Argument:
fopen compatible filename

2. Argument:
FileMode Enum This Enum Cases are the available options of the fopen modeparameter.

use \Ambimax\File\File;
use \Ambimax\File\FileMode;

//                fopenCompatibleFilename   FileMode Enum
$file = new File(     '/tmp/filename'     ,  FileMode::R  );

Remotes

For additional informations on how use this with files that are not in the local filesystem check the Remotes Documentation.

Helper scripts

You can find out more about them here.

Addtitional Documentation

Add a list of links to additional documentation in ./docs.

Author(s)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-10-31