File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,31 @@ Implements IETF JSON-patch (RFC 6902) and JSON-pointer (RFC 6901):
88http://tools.ietf.org/html/rfc6902
99http://tools.ietf.org/html/rfc6901
1010
11+ Using with Composer
12+ -------------------
13+
14+ To use this library as a Composer dependency in your project, include the
15+ following sections in your project's ` composer.json ` file:
16+
17+ ```
18+ "repositories": [
19+ {
20+ "type": "vcs",
21+ "url": "https://github.com/mikemccabe/json-patch-php"
22+ }
23+ ],
24+ "require": {
25+ "mikemccabe/json-patch-php": "dev-master"
26+ }
27+ ```
28+
29+ Then, in your project's code, use the ` JsonPatch ` class definition from
30+ the ` mikemccabe\JsonPatch ` namespace like so:
31+
32+ ``` php
33+ use mikemccabe\JsonPatch\JsonPatch;
34+ ```
35+
1136Entry points
1237------------
1338
You can’t perform that action at this time.
0 commit comments