Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Json Diff Laravel Package

swaggest/json-diff

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.

View on GitHub
Deep Wiki
Context7
3.10.4

Fixed

  • Handling of non-string op values, #63.
3.10.3

Added

  • Option to skip paths, #39.
3.10.2

Added

  • Exceptions improved, #60.
3.10.1

Added

  • Exception type hints improved, #59.
3.10.0

Added

  • More specific exception types added for failed test operation, #57.
3.9.0

Added

  • Specific exception type PatchTestOperationFailedException for failed test operation.
3.8.3

Fixed

  • Redundant operations in array patches that strip first element.
  • XOR hash collision for properties having equal parts.

Added

  • Rearrange indexing by non-scalar properties that contain object, using XOR hash.
3.8.2

Fixed

  • PHP 8.1 Deprecation notices with missing returns.
3.8.1

Fixed

  • Rearrangement of equal array items is corrupting data by redundant replaces.
3.8.0

Added

  • Rearrangement of equal items for non-homogeneous arrays with JsonDiff::REARRANGE_ARRAYS option.
3.7.5

Fixed

  • Accidental array to associative array conversion (#31).
3.7.4

Fixed

  • PHP version check for empty property name support.
3.7.3

Fixed

  • Merge patch was not replacing partially different arrays.
3.7.2

Added

  • Change log.

Fixed

  • Few irrelevant files not mentioned in .gitattributes.
3.7.1

Added

  • Benchmarks to CI.

Fixed

  • Unstable array rearrange order.
3.7.0

Added

  • getModifiedDiff() and COLLECT_MODIFIED_DIFF option to return paths with original and new values.
3.6.0

Added

  • Compatibility option to TOLERATE_ASSOCIATIVE_ARRAYS that mimic JSON objects.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests