lolli42/finediff
Create HTML diffs between two strings with fine-grained character or word comparison. Outputs / markup, escapes HTML entities, supports multibyte strings, and exposes internal opcodes for diff processing. PHP 8.2+ in v1.1.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cogpowered/finediff | 0.88 | FineDiff (archived; see d4h/php-finediff) is a PHP library for generating and applying fine-grained diffs between strings. Render changes as HTML or text, choose character/word granularity, and work with compact opcode instructions to transform content. | 135 | 139 | 29 | 24K | 0 | 1.0 | 22.4 | — | — | |
| sebastian/diff | 0.87 | Standalone PHP diff component extracted from PHPUnit. Generate unified or strict unified diffs between strings, output only changed lines, or plug in custom output builders. Also parse unified diffs into an object graph for further processing. | 7,661 | 7,709 | 85 | 14M | 1 | 49.0 | 52.6 | BSD-3-Clause | 3 weeks ago | |
| jfcherng/php-diff | 0.85 | PHP library to generate diffs between two strings with multiple renderers: unified/context/text, JSON, and rich HTML (inline, side-by-side, combined). Includes helper CSS (or your own) and customizable differ/renderer options. Requires PHP 8.3+ and ext-iconv. | 474 | 475 | 51 | 208K | 5 | 31.9 | 43.5 | BSD-3-Clause | 1 month ago | |
| aldaflux/fine-diff-bundle | 0.84 | — | 0 | 0 | 0 | 222 | 0 | 0.0 | 32.4 | — | — | |
| caxy/php-htmldiff | 0.83 | Compare two HTML snippets/files and generate a marked-up diff highlighting insertions, deletions, and changes. Easy Composer install, simple API (HtmlDiff->build()), configurable behavior and CSS-friendly output; includes a live demo and Symfony bundle option. | 213 | 222 | 54 | 417K | 27 | 20.2 | 55.1 | GPL-2.0 | 1 year ago | |
| phpspec/php-diff | 0.83 | phpspec/php-diff is a lightweight PHP library for generating diffs between strings and arrays. It computes insertions, deletions, and changes and can render readable output via formatters, making it useful for tests, code review tooling, and text comparison. | 361 | 381 | 31 | 651K | 0 | 4.6 | 45.7 | — | 5 years ago |
How can I help you explore Laravel packages today?