@@ -8,7 +8,7 @@ This is a fork of [Chris Boulton's Diff][fork] project.
88
99## Introduction
1010
11- A comprehensive library for generating differences between
11+ Phalcon Diff is a comprehensive library for generating differences between
1212two hashable objects (strings or arrays). Generated differences can be
1313rendered in all of the standard formats including:
1414
@@ -21,6 +21,41 @@ The logic behind the core of the diff engine (ie, the sequence matcher)
2121is primarily based on the Python difflib package. The reason for doing
2222so is primarily because of its high degree of accuracy.
2323
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+ * PHP mbstring extension
34+
35+ ### Installation
36+
37+ Install [ Composer] [ composer ] in a common location or in your project:
38+
39+ ``` sh
40+ $ curl -s http://getcomposer.org/installer | php
41+ ```
42+
43+ Create the ` composer.json ` file as follows:
44+
45+ ``` json
46+ {
47+ "require" : {
48+ "phalcongelist/php-diff" : " ~2.0"
49+ }
50+ }
51+ ```
52+
53+ Run the composer installer:
54+
55+ ``` sh
56+ $ php composer.phar install
57+ ```
58+
2459## Example Use
2560
2661More complete documentation will be available shortly.
@@ -35,9 +70,10 @@ More complete documentation will be available shortly.
3570
3671Phalcon Diff is open-sourced software licensed under the [ New BSD License] [ license ] .
3772
38- © 2009-2016, Chris Boulton <
[email protected] > <
br >
3973© 2016, Phalcon Framework Team and contributors <br >
74+ © 2009-2016, Chris Boulton <
[email protected] > <
br >
4075All rights reserved.
4176
4277[ fork ] : https://github.com/chrisboulton/php-diff
78+ [ composer ] : https://getcomposer.org
4379[ license ] : https://github.com/phalcongelist/php-diff/blob/master/docs/LICENSE.txt
0 commit comments