定制 jelix/file-utilities 二次开发

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

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

jelix/file-utilities

最新稳定版本:v1.8.5

Composer 安装命令:

composer require jelix/file-utilities

包简介

helpers to manipulate files, path and directories

README 文档

README

Some utilities to manipulate files, directories and paths.

Installation

You can install it from Composer. In your project:

composer require "jelix/file-utilities"

Features

The File class allows you to read and write file contents. write() method allows to change the content of an existing file by not writing into it directly, avoiding write lock.

The Directory class allows to delete recursively content of a directory, and even to do it without deleteting some specific files.

For both File and Directory classes, chmod values can be set globally or specifically, when they create a file or a directory.

The Path class allows to cleanup a path, to resolve a path against an other, or to get the shortest path between to path. All of its methods works on path string and do not rely on the file system. So paths can represent files/directories that do not exist.

History

Most of methods of first version of the classes come originally from the jFile class of Jelix 1.6. http://jelix.org

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04