控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Your Name 4a7af99f81 first commit 11ヶ月前
..
src first commit 11ヶ月前
.gitignore first commit 11ヶ月前
LICENSE first commit 11ヶ月前
README.md first commit 11ヶ月前
composer.json first commit 11ヶ月前

README.md

thinkphp5 常用的一些扩展类库

更新完善中

以下类库都在\\think\\helper命名空间下

Str

字符串操作

// 检查字符串中是否包含某些字符串
Str::contains($haystack, $needles)

// 检查字符串是否以某些字符串结尾
Str::endsWith($haystack, $needles)

// 获取指定长度的随机字母数字组合的字符串
Str::random($length = 16)

// 字符串转小写
Str::lower($value)

// 字符串转大写
Str::upper($value)

// 获取字符串的长度
Str::length($value)

// 截取字符串
Str::substr($string, $start, $length = null)