jysperu / helper-strtoslug
strtoslug 函数
v1.0.1
2023-10-24 15:13 UTC
Requires
- symfony/string: ^5.3
- symfony/translation-contracts: ^2.4
README
通过 composer 安装
composer require jysperu/helper-strtoslug
PHP 功能
## Retorna el texto en formato slug
function strtoslug(string $val, string $separator = '-', string $lang = 'es'): string