File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ This is a fork of [Chris Boulton's Diff][fork] project.
8
8
9
9
## Introduction
10
10
11
- A comprehensive library for generating differences between
11
+ Phalcon Diff is a comprehensive library for generating differences between
12
12
two hashable objects (strings or arrays). Generated differences can be
13
13
rendered in all of the standard formats including:
14
14
@@ -21,6 +21,40 @@ The logic behind the core of the diff engine (ie, the sequence matcher)
21
21
is primarily based on the Python difflib package. The reason for doing
22
22
so is primarily because of its high degree of accuracy.
23
23
24
+ Please write us if you have any feedback.
25
+
26
+ ## Get Started
27
+
28
+ ### Requirements
29
+
30
+ To run this library on your project, you need at least:
31
+
32
+ * PHP >= 5.4
33
+
34
+ ### Installation
35
+
36
+ Install [ Composer] [ composer ] in a common location or in your project:
37
+
38
+ ``` sh
39
+ $ curl -s http://getcomposer.org/installer | php
40
+ ```
41
+
42
+ Create the ` composer.json ` file as follows:
43
+
44
+ ``` json
45
+ {
46
+ "require" : {
47
+ "phalcongelist/php-diff" : " ~2.0"
48
+ }
49
+ }
50
+ ```
51
+
52
+ Run the composer installer:
53
+
54
+ ``` sh
55
+ $ php composer.phar install
56
+ ```
57
+
24
58
## Example Use
25
59
26
60
More complete documentation will be available shortly.
@@ -40,4 +74,5 @@ Phalcon Diff is open-sourced software licensed under the [New BSD License][licen
40
74
All rights reserved.
41
75
42
76
[ fork ] : https://github.com/chrisboulton/php-diff
77
+ [ composer ] : https://getcomposer.org
43
78
[ license ] : https://github.com/phalcongelist/php-diff/blob/master/docs/LICENSE.txt
You can’t perform that action at this time.
0 commit comments