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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpspec/php-diff | 0.89 | 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 | 640K | 0 | 4.6 | 45.6 | — | 5 years ago | |
| jfcherng/php-diff | 0.88 | Generate diffs between two strings with multiple renderers: context, unified, JSON, and rich HTML views (combined, inline, side-by-side). Includes helper CSS for HTML output. Requires PHP 8.3+ and ext-iconv; install via Composer. | 482 | 485 | 49 | 223K | 5 | 33.6 | 43.9 | BSD-3-Clause | 1 month ago | |
| aldaflux/fine-diff-bundle | 0.87 | — | 0 | 0 | 0 | 245 | 0 | 0.0 | 33.0 | — | — | |
| caxy/htmldiff-bundle | 0.87 | — | 5 | 6 | 7 | 2K | 0 | 2.1 | 35.0 | MIT | 2 years ago | |
| sebastian/diff | 0.86 | Standalone PHP diff library extracted from PHPUnit. Generate textual diffs between strings with configurable output builders (unified, strict unified, diff-only) or custom formats, and parse unified diffs into an object model for further processing. | 7,658 | 7,705 | 90 | 14M | 1 | 48.0 | 52.6 | BSD-3-Clause | 1 month ago | |
| cogpowered/finediff | 0.84 | 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 | 29 | 22K | 0 | 1.0 | 22.0 | — | — | |
| lolli42/finediff | 0.83 | 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. | 13 | 13 | 3 | 325K | 0 | 8.9 | 58.3 | MIT | 8 months ago |
How can I help you explore Laravel packages today?