Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Your Name 2e7a963364 first commit 6 ay önce
..
src first commit 6 ay önce
.gitignore first commit 6 ay önce
LICENSE first commit 6 ay önce
README.md first commit 6 ay önce
composer.json first commit 6 ay önce

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)