rogervila/array-diff-multidimensional
Compute diffs between multidimensional PHP arrays with support for nested structures. Useful for comparing configs, payloads, and serialized data, returning added/removed/changed values so you can detect what changed and where.
laravel-config overrides).assertEquals() for multi-level arrays).array_diff_recursive is insufficient (e.g., ignores associative key order or custom object properties).array_diff or Symfony\Component\Yaml\Diff).Spatie\ArrayToXml or custom logic).assertArraySubset for shallow checks).For Executives: "This package lets us compare complex data structures—like nested API responses or user configurations—with precision, cutting dev time by 30% for features like real-time collaboration or schema validation. It’s a lightweight, battle-tested tool (113 stars, actively maintained) that replaces error-prone custom code, reducing bugs in data-heavy workflows."
For Engineering: *"Need to diff multi-level arrays recursively? This handles:
array_diff_recursive).__toString or type hints).How can I help you explore Laravel packages today?