library diff
Diffs two strings and generates an object graph
braskit/diff
Diffs two strings and generates an object graph
- Saturday, April 18, 2015
- by emmausrs
- Repository
- 2 Watchers
- 0 Stars
- 19 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Braskit\Diff
Braskit\Diff is a PHP library which diffs two strings and generates an
object graph. It was conceived because Sebastian Bergmann's Diff library
isn't capable of parsing its own diffs (due to the output not being unified or
whatever), while [this library][2], which does parse unified diffs, doesn't
generate a usable object graph. Braskit\Diff solves this problem by providing
the needed glue between the two libraries., (*1)
Usage
<?php
use Braskit\Diff\Diff;
$differ = new Braskit\Diff\Diff();
$graph = $differ->diffStrings($one, $two);
The resulting object graph is a SebastianBergmann\Diff\Diff instance., (*2)
Licence
MIT, (*3)
dev-master
9999999-dev
Diffs two strings and generates an object graph
Sources
Download
MIT
The Requires
The Development Requires
by
Frank Usrs
v1.0.1
1.0.1.0
Diffs two strings and generates an object graph
Sources
Download
MIT
The Requires
The Development Requires
by
Frank Usrs
v1.0.0
1.0.0.0
Diffs two strings and generates an object graph
Sources
Download
MIT
The Requires
The Development Requires
by
Frank Usrs