JSON Viewer for PHP
- PHP 5.6.30 or higher.
At first, install composer.
$ mkdir workspace
$ cd workspace
$ curl -s http://getcomposer.org/installer | php
Create composer.json.
{
"require": {
"kura-lab/json-viewer": "1.*"
}
}
Install library.
$ php composer.phar install
Check coding style with CodeSniffer.
$ vendor/bin/phpcs --standard=PSR2 src/
Execute unit test with PHPUnit.
$ vendor/bin/phpunit