forked from phpspec/php-diff
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from phalcongelist/2.0.x
Bump version (2.0.4)
- Loading branch information
Showing
7 changed files
with
93 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
|
||
## Introduction | ||
|
||
A comprehensive library for generating differences between | ||
Phalcon Diff is a comprehensive library for generating differences between | ||
two hashable objects (strings or arrays). Generated differences can be | ||
rendered in all of the standard formats including: | ||
|
||
|
@@ -21,6 +21,41 @@ The logic behind the core of the diff engine (ie, the sequence matcher) | |
is primarily based on the Python difflib package. The reason for doing | ||
so is primarily because of its high degree of accuracy. | ||
|
||
Please write us if you have any feedback. | ||
|
||
## Get Started | ||
|
||
### Requirements | ||
|
||
To run this library on your project, you need at least: | ||
|
||
* PHP >= 5.4 | ||
* PHP mbstring extension | ||
|
||
### Installation | ||
|
||
Install [Composer][composer] in a common location or in your project: | ||
|
||
```sh | ||
$ curl -s http://getcomposer.org/installer | php | ||
``` | ||
|
||
Create the `composer.json` file as follows: | ||
|
||
```json | ||
{ | ||
"require": { | ||
"phalcongelist/php-diff": "~2.0" | ||
} | ||
} | ||
``` | ||
|
||
Run the composer installer: | ||
|
||
```sh | ||
$ php composer.phar install | ||
``` | ||
|
||
## Example Use | ||
|
||
More complete documentation will be available shortly. | ||
|
@@ -35,9 +70,10 @@ More complete documentation will be available shortly. | |
|
||
Phalcon Diff is open-sourced software licensed under the [New BSD License][license]. | ||
|
||
© 2009-2016, Chris Boulton <[email protected]> <br> | ||
© 2016, Phalcon Framework Team and contributors <br> | ||
© 2009-2016, Chris Boulton <[email protected]> <br> | ||
All rights reserved. | ||
|
||
[fork]: https://github.com/chrisboulton/php-diff | ||
[composer]: https://getcomposer.org | ||
[license]: https://github.com/phalcongelist/php-diff/blob/master/docs/LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters