chili-labs / json-patch
Simple library for applying JSON Patches (RFC 6902) to PHP data structures
Installs: 2 998
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: >=5.4.0
- chili-labs/json-pointer: ~1.0
- myclabs/deep-copy: ~1.0
This package is not auto-updated.
Last update: 2019-08-20 21:53:31 UTC
README
Simple library for applying JSON Patches (RFC 6902) to PHP data structures
Description
This library implements the RFC 6902 for PHP. Together with the JSONPointer library it tries to simplify applying json-patches to various php data structures.
Installation
To install this library, run the command below and you will get the latest version:
composer require chili-labs/json-patch
Usage
The documentation is work in progress.
Tests
To run the test suite, you need composer.
php composer.phar install
phpunit
License
JSONPatch is licensed under the MIT license.