library json-pretty
Provides support for json pretty printing
camspiers/json-pretty
Provides support for json pretty printing
- Saturday, February 6, 2016
- by camspiers
- Repository
- 1 Watchers
- 20 Stars
- 289,626 Installations
- PHP
- 19 Dependents
- 0 Suggesters
- 9 Forks
- 1 Open issues
- 6 Versions
- 4 % Grown
JSON Pretty
, (*1)
This project provides pretty printing for json in php 5.3., (*2)
Installation
Make sure the following is present in your composer.json
file:, (*3)
{
"require": {
"camspiers/json-pretty": "1.0.*"
}
}
Then run:, (*4)
$ composer update
Usage
$jsonPretty = new Camspiers\JsonPretty\JsonPretty;
echo $jsonPretty->prettify(array('test' => 'test'));
Testing
To run the unit tests with phpunit installed globally:, (*5)
$ phpunit
To run the unit tests with phpunit installed via composer install --dev
:, (*6)
$ vendor/bin/phpunit
dev-master
9999999-dev
Provides support for json pretty printing
Sources
Download
MIT
The Development Requires
1.0.2
1.0.2.0
Provides support for json pretty printing
Sources
Download
MIT
The Development Requires
1.0.1
1.0.1.0
Provides support for json pretty printing
Sources
Download
MIT
The Development Requires
1.0.0
1.0.0.0
Provides support for json pretty printing in php 5.3
Sources
Download
MIT
The Development Requires
0.1.0
0.1.0.0
Provides support for json pretty printing in php 5.3
Sources
Download
MIT
The Requires
The Development Requires
0.0.1
0.0.1.0
Provides support for json pretty printing in php 5.3
Sources
Download
MIT
The Requires
The Development Requires