php-inflector:PHP Inflector,从Rails移植

时间:2021-05-18 07:19:51
【文件属性】:
文件名称:php-inflector:PHP Inflector,从Rails移植
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-18 07:19:51
php internationalization inflection php-inflector PHP PHP Inflector PHP Inflector库,从移植 最低要求 PHP 5.4+(在分支中支持PHP 5.3) PHP( php5-intl ) 安装 使用PHP Inflector的最简单方法是与安装 创建或更新composer.json : { " require " : { " koenpunt/php-inflector " : " 1.0.* " } } 并运行composer install 特征 基本: 单数化 多元化 单数化 驼色 下划线 人性化 称职 表化 分类 破译 命名空间 外键 序数化 国际化 音译 参数化 用法 PHP Inflector被实现为具有静态功能的类 Inflector :: underscore ( "PhpInflector\Inflector" ); # => php_inflector/inflector
【文件预览】:
php-inflector-master
----lib()
--------Utils.php(773B)
--------Inflector()
--------Inflector.php(962B)
--------Inflections.php(3KB)
----.travis.yml(99B)
----LICENSE(1KB)
----test()
--------InflectionsTest.php(5KB)
--------InflectorTest.php(5KB)
----phpunit.xml(53B)
----README.md(2KB)
----.gitignore(9B)
----composer.json(441B)

网友评论