Skip to content

Releases: nochso/diff

2.0.0 Fork

17 Mar 20:46

Choose a tag to compare

This library is a fork of sebastian/diff: While the original diff
implementation has not notably changed, new features were added:

  • Configurable limit for lines of context around the modified lines
  • Plain PHP templates for displaying diffs in:
    • Plain text
    • Colored POSIX console output
    • HTML
    • Github flavoured Markdown
  • Modify existing templates or create your own
  • Line numbering based on the "before" string
  • Upstream formatter for maintaining compatibility with sebastian/diff — and to keep the original tests around