2017 © Pedro Peláez
 

library json-pretty

Provides support for json pretty printing

image

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

The README.md

JSON Pretty

Build Status, (*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

The Versions

06/02 2016

dev-master

9999999-dev

Provides support for json pretty printing

  Sources   Download

MIT

The Development Requires

06/02 2016

1.0.2

1.0.2.0

Provides support for json pretty printing

  Sources   Download

MIT

The Development Requires

17/09 2015

1.0.1

1.0.1.0

Provides support for json pretty printing

  Sources   Download

MIT

The Development Requires

24/01 2014

1.0.0

1.0.0.0

Provides support for json pretty printing in php 5.3

  Sources   Download

MIT

The Development Requires

28/01 2013

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

27/01 2013

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