winponta/helpers
最新稳定版本:0.2.3
Composer 安装命令:
composer require winponta/helpers
包简介
Class helpers for common function in PHP
README 文档
README
PHP common lib with several class helpers
Usage
ArrayHelper
charsetConvertToUTF8
Function to convert all values of an array to charset UTF-8
charsetConvert
Function to convert all values of an array from one charset to another
verifyKeysSet
Check if a key or array of keys exists in an array
verifyKeysSet
Check if a key exist in a simple or multidimensional array
StringHelper
ucwords
Function that mimics original php ucwords, but works with exceptions and delimiters to not upper case words like (in Portuguese):
de, da, do, o, a, os .. etc.
$s = StringHelper::ucwords('JOÃO DA SILVA');
echo $s;
// output
// João da Silva
transliterate
Function that simplify the String transliterating accents.
Depends on 'php-intl' extension
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-16