caxy/php-htmldiff
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| caxy/htmldiff-bundle | 0.89 | — | 5 | 6 | 7 | 2K | 0 | 2.1 | 35.0 | MIT | 3 years ago | |
| ssddanbrown/htmldiff | 0.88 | A PHP library for generating a visual diff between two HTML strings. It compares content word by word while preserving HTML structure, outputting marked-up HTML with inserted and deleted content highlighted, useful for showing edits to rich-text content. | 10 | — | 3 | — | 0 | 0.1 | — | MIT | 2 years ago |
|
| jfcherng/php-diff | 0.87 | jfcherng/php-diff is a comprehensive PHP library for generating diffs between two strings. It provides text renderers (Context, JSON, Unified) and HTML renderers (Combined, Inline, JSON, Side by Side). Install via Composer; requires PHP 8.3+ and ext-iconv. HTML output needs CSS for proper visualizat... | 483 | 487 | 47 | 422K | 5 | 28.3 | 46.8 | BSD-3-Clause | 4 months ago | |
| cogpowered/finediff | 0.87 | 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. | 136 | 139 | 28 | 20K | 0 | 1.0 | 21.8 | — | — | |
| mistralys/text-diff | 0.87 | A PHP library for comparing text and rendering differences. It computes diffs between strings or files and presents changes in HTML or plain text via a flexible API, making it easy to add clear diff views to PHP applications. | 27 | — | 7 | — | 0 | 6.7 | — | MIT | 8 months ago |
|
| phpspec/php-diff | 0.86 | 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. | 360 | 381 | 31 | 629K | 0 | 4.6 | 45.5 | — | 6 years ago |
How can I help you explore Laravel packages today?