camspiers/json-pretty
最新稳定版本:1.0.2
Composer 安装命令:
composer require camspiers/json-pretty
包简介
Provides support for json pretty printing
README 文档
README
This project provides pretty printing for json in php 5.3.
Installation
Make sure the following is present in your composer.json file:
{
"require": {
"camspiers/json-pretty": "1.0.*"
}
}
Then run:
$ composer update
Usage
$jsonPretty = new Camspiers\JsonPretty\JsonPretty; echo $jsonPretty->prettify(array('test' => 'test'));
Testing
To run the unit tests with phpunit installed globally:
$ phpunit
To run the unit tests with phpunit installed via composer install --dev:
$ vendor/bin/phpunit
统计信息
- 总下载量: 690.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23
- 点击次数: 1
- 依赖项目数: 19
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-27