codemax/tool-path

PHP - 用于操作文件和目录路径的工具。

1.0.0 2021-05-03 02:37 UTC

This package is auto-updated.

Last update: 2024-09-29 06:03:02 UTC


README

PHP - 用于操作文件和目录路径的工具。

  • Path::safe( string $path ): string
  • Path::forceDirBase( string $dirPath ): string
  • Path::fileExtension( string $path ): string
  • Path::forceCreateFilepath( string $filepath ): void
  • Path::deleteEntireDirectory( string $dirPath ): void