2017 © Pedro Peláez
 

library json-pointer

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

image

chili-labs/json-pointer

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

  • Tuesday, March 17, 2015
  • by danez
  • Repository
  • 1 Watchers
  • 3 Stars
  • 2,586 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

JSONPointer

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

Latest Stable Version Total Downloads License Build Status Coverage Status SensioLabsInsight, (*1)

Description

This library implements the RFC 6901 for PHP. It is possible to parse a path (e.g./some/path) or create the JsonPointer object from array (e.g. ['some','path']). There are several other good libraries ( 1, 2, 3 ) for parsing json-pointers, but none of them was able to access other php structures besides default arrays. With different accessors, which are part of this library, you can apply json-pointers to either arrays or also plain objects. Custom accessors can simply be created on your own., (*2)

Installation

To install this library, run the command below and you will get the latest version:, (*3)

composer require chili-labs/json-pointer

Usage

The documentation is work in progress., (*4)

Tests

To run the test suite, you need composer., (*5)

composer install
phpunit

License

JSONPointer is licensed under the MIT license., (*6)

The Versions

17/03 2015

dev-master

9999999-dev

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

17/03 2015

v0.1.3

0.1.3.0

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

17/03 2015

v1.0.0

1.0.0.0

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

07/02 2015

v0.1.2

0.1.2.0

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

06/02 2015

v0.1.1

0.1.1.0

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

06/02 2015

v0.1.0

0.1.0.0

Simple library for accessing PHP data structures with JSON Pointers (RFC 6901)

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires