定制 rosell-dk/file-util 二次开发

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

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

rosell-dk/file-util

最新稳定版本:0.1.1

Composer 安装命令:

composer require rosell-dk/file-util

包简介

Functions for dealing with files and paths

README 文档

README

Build Status Software License Coverage Latest Stable Version Minimum PHP Version

Just a bunch of handy methods for dealing with files and paths:

  • FileExists::fileExists($path):
    A well-behaved version of file_exists that throws upon failure rather than emitting a warning

  • FileExists::fileExistsTryHarder($path):
    Also well-behaved. Tries FileExists::fileExists(). In case of failure, tries exec()-based implementation

  • PathValidator::checkPath($path):
    Check if path looks valid and doesn't contain suspecious patterns

  • PathValidator::checkFilePathIsRegularFile($path):
    Check if path points to a regular file (and doesnt match suspecious patterns)

统计信息

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

GitHub 信息

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

其他信息

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