Download the PHP package phalcongelist/php-diff without Composer
On this page you can find all versions of the php package phalcongelist/php-diff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phalcongelist/php-diff
More information about phalcongelist/php-diff
Files in phalcongelist/php-diff
Package php-diff
Short Description A comprehensive library for generating differences between two hashable objects (strings or arrays).
License BSD-3-Clause
Informations about the package php-diff
Phalcon Diff
About this repo
This is a fork of Chris Boulton's Diff project.
Introduction
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:
- Unified
- Context
- Inline HTML
- Side by Side HTML
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 in a common location or in your project:
Create the composer.json
file as follows:
Run the composer installer:
Example Use
More complete documentation will be available shortly.
Todo
- Ability to ignore blank line changes
- 3 way diff support
- Performance optimizations
License
Phalcon Diff is open-sourced software licensed under the New BSD License.
© 2016, Phalcon Framework Team and contributors
© 2009-2016, Chris Boulton [email protected]
All rights reserved.
All versions of php-diff with dependencies
ext-mbstring Version *