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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sebastian/diff | 0.87 | Standalone PHP diff library extracted from PHPUnit. Generate unified/strict unified diffs or diff-only output between strings via Differ and output builders, or parse unified diff text into an object graph with Parser for further processing. | 7,661 | 7,706 | 85 | 13M | 5 | 50.1 | 53.6 | BSD-3-Clause | 4 days ago | |
| jfcherng/php-diff | 0.87 | Generate diffs between two strings in PHP with multiple renderers: unified/context text, JSON, and rich HTML (inline, side-by-side, combined). Includes configurable differ/renderer options and helper CSS for easy HTML diff styling. | 471 | 474 | 51 | 199K | 5 | 34.5 | 43.9 | BSD-3-Clause | 3 days ago | |
| 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 | 256K | 0 | 22.6 | 65.0 | MIT | 5 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. | 242 | 246 | 32 | 665K | 8 | 33.6 | 59.5 | 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. | 46 | 46 | 2 | 1M | 1 | 21.8 | 66.8 | NOASSERTION | 1 year ago |
How can I help you explore Laravel packages today?