Download the PHP package hotarunohikari/dr-file without Composer
On this page you can find all versions of the php package hotarunohikari/dr-file. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package dr-file
dr-file
/**
* 前缀修正
* @param $path 路径名称
* @param bool $hasSlash 是否带前缀斜杠,默认否
* @return false|string
* hotarunohikari
*/
static function drFixPrefix($path, $hasSlash = false)
/**
* 尾缀修正
* @param $path 路径名称
* @param bool $hasSlash 是否带前缀斜杠,默认是
* @return false|string
* hotarunohikari
*/
static function drFixSuffix($path, $hasSlash = true)
/**
* 修正文件路径名称
* @param $path 路径名称
* @param bool $hasSlash 是否带前后缀斜杠,默认是
* @return false|string
* hotarunohikari
*/
static function drFixDirName($path, $hasSlash = true)
/**
* 根据日期创建目录,多用于文件上传存储
* @param $dir 路径名称
* @return false|string 如: 路径/年/月-日/
* hotarunohikari
*/
static function drMkdirByDate($dir)
/**
* 生成一个不可能重复的名字
* @param $prefix 前缀
* @return string
* hotarunohikari
*/
static function drMakeName($prefix = 'dr')All versions of dr-file with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package hotarunohikari/dr-file contains the following files
Loading the files please wait ...