phpspec/php-diff
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jfcherng/php-diff | 0.89 | 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 | |
| lolli42/finediff | 0.86 | 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 | 291K | 0 | 10.8 | 59.3 | MIT | 7 months ago | |
| swaggest/json-diff | 0.82 | PHP library for comparing and diffing JSON structures. Generate human-readable diffs and apply patches to reconcile documents, helping detect changes between API responses, configs, and data snapshots with support for nested objects and arrays. | 243 | 248 | 32 | 681K | 8 | 13.6 | 50.2 | MIT | 1 year ago | |
| localheinz/diff | 0.81 | Fork of sebastian/diff created for use with ergebnis/composer-normalize (with permission from Sebastian Bergmann). Intended as an internal dependency; prefer using sebastian/diff directly for general diff functionality. | 47 | 47 | 2 | 1M | 1 | 1.8 | 56.7 | NOASSERTION | 1 year ago |
How can I help you explore Laravel packages today?