k-ko/strings-normalizer
Composer 安装命令:
composer require k-ko/strings-normalizer
包简介
Helper to normalize strings
README 文档
README
Helper to normalize strings
Methods
All methods preserves letters and numbers only.
# All lowercase, nur buchstaben und ziffern, remove spaces, underscores
public static function toLowercase(string $string): string
# All uppercase, remove spaces, underscores
public static function toUppercase(string $string): string
# lowerCamelCase
public static function toCamelCase(string $string): string
# UpperCamelCase
public static function toUpperCamelCase(string $string): string
# snake_case
public static function toSnakeCase(string $string): string
# slugify-a-string
public static function slugify(string $string): string
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-05