2017 © Pedro Peláez
 

library simple-diff

PHP class wrapper for simple diff operation.

image

codedruids/simple-diff

PHP class wrapper for simple diff operation.

  • Wednesday, January 31, 2018
  • by leith
  • Repository
  • 2 Watchers
  • 2 Stars
  • 50 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

SimpleDiff

Latest release Build Status Code Coverage Code Quality Software License, (*1)

SimpleDiff is a PHP class wrapper for a simple diffing algorithm., (*2)

Requirements

  • PHP 5.4 or higher

Installation

Add the following to your composer.json:, (*3)

{
    "require": {
        "CodeDruids/simple-diff": "1.*"
    }
}

Basic Usage

$old = ['some','array','of','stuff'];
$new = ['some','array','of','other','stuff'];

$diff = \CodeDruids\SimpleDiff::diff($old, $new);

$oldHtml = "Some <b>HTML</b> you simply <i>cannot</i> ignore!";
$newHtml = "Some <b>HTML</b> you just <i>cannot</i> ignore!";

$htmlDiff = \CodeDruids\SimpleDiff::htmlDiff($oldHtml, $newHmtl);

Support

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request., (*4)

The Versions

31/01 2018

dev-master

9999999-dev

PHP class wrapper for simple diff operation.

  Sources   Download

Zlib zlib-libpng

The Requires

  • php >=5.4.0

 

The Development Requires

by Paul Butler

31/01 2018

v1.0.3

1.0.3.0

PHP class wrapper for simple diff operation.

  Sources   Download

Zlib

The Requires

  • php >=5.4.0

 

The Development Requires

by Paul Butler

31/01 2018

v1.0.2

1.0.2.0

PHP class wrapper for simple diff operation.

  Sources   Download

Zlib

The Requires

  • php >=5.4.0

 

The Development Requires

by Paul Butler

16/12 2015

v1.0.1

1.0.1.0

PHP class wrapper for simple diff operation.

  Sources   Download

zlib-libpng

The Requires

  • php >=5.4.0

 

The Development Requires

by Paul Butler

16/12 2015

1.0.0

1.0.0.0

PHP class wrapper for simple diff operation.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Paul Butler

16/12 2015

v1.0.0

1.0.0.0

PHP class wrapper for simple diff operation.

  Sources   Download

zlib/libpng

The Requires

  • php >=5.3.0

 

The Development Requires

by Paul Butler