sebastian/diff
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jfcherng/php-diff | 0.86 | 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. | 483 | 487 | 48 | 238K | 5 | 32.4 | 44.2 | BSD-3-Clause | 2 months ago | |
| lolli42/finediff | 0.84 | 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 | 387K | 0 | 8.9 | 58.3 | MIT | 10 months ago | |
| phpspec/php-diff | 0.80 | 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 | 629K | 0 | 4.6 | 45.5 | — | 6 years ago |
How can I help you explore Laravel packages today?