linio/util
最新稳定版本:4.0.0
Composer 安装命令:
composer require linio/util
包简介
Generic component that provides many helper classes, such as JSON parsing, conversion tools, data structures, etc.
README 文档
README
Linio Util is a generic component that provides many helper classes, such as JSON parsing, conversion tools, data structures, etc.
Install
The recommended way to install Linio Util is through composer.
$ composer require linio/util
Tests
To run the test suite, you need install the dependencies via composer, then run PHPUnit.
$ composer install $ vendor/bin/phpunit
JSON
The library includes a JSON wrapper around json_encode and json_decode,
allowing you to handle parsing errors with exceptions.
<?php Json::encode(['foo' => 'bar']); Json::decode('{"foo":"bar"}');
Inflector
The library includes a small string manipulation library, with common operations in string datatypes.
<?php Inflector::pascalize('my-test'); // MyTest Inflector::camelize('my-test'); // myTest
统计信息
- 总下载量: 73.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-03-16