boulzy/array-comparator
Compare PHP arrays with boulzy/array-comparator: detect differences and changes between two arrays, including nested structures. Useful for testing, syncing data, and debugging by quickly showing what was added, removed, or modified.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mathiasgrimm/arraypath | 0.80 | Convenient array manipulation for PHP, especially multidimensional arrays. Safely get, set, check existence, add or remove values using simple “a/b/c” paths, avoiding undefined index notices. Optional class alias (A) for cleaner calls and IDE autocomplete. | 25 | 26 | 7 | 8 | 2 | 1.6 | 1.1 | NOASSERTION | 10 years ago | |
| rogervila/array-diff-multidimensional | 0.80 | 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. | 112 | 114 | 16 | 203K | 0 | 2.9 | 44.9 | — | 1 year ago | |
| voku/arrayy | 0.80 | — | 489 | 492 | 33 | 99K | 3 | 4.4 | 33.3 | MIT | — | |
| mauretto78/array-query | 0.79 | Array Query is a PHP library that lets you query arrays using SQL-like syntax: select, where, order by, group by, limit and joins, with support for nested keys and custom operators. It brings database-style filtering and sorting to plain arrays, making complex data manipulation readable and testable... | 12 | — | 4 | — | 0 | 0.2 | — | MIT | 7 years ago |
|
| rikudou/array-merge-recursive | 0.79 | A lightweight PHP utility for recursively merging arrays with predictable results. It combines nested structures while letting later values take precedence, making it useful for configs, defaults, and deep data composition. Framework-agnostic and easy to use. | 7 | 7 | 0 | 2K | 0 | 0.0 | 32.7 | WTFPL | 5 years ago | |
| cscfa_tool_division/collections | 0.79 | — | 0 | 1 | 0 | 2 | 0 | 0.6 | 6.6 | MIT | 9 years ago | |
| eliashaeussler/deep-closure-comparator | 0.79 | PHPUnit comparator/assertion that deeply compares closures inside objects/arrays by serializing them via opis/closure. Use DeepClosureAssert::assertEquals() as a drop-in replacement for PHPUnit’s assertEquals when closures should be treated as equal. | 0 | 0 | 0 | 1K | 1 | 8.9 | 35.9 | GPL-3.0 | 4 months ago | |
| cocur/vale | 0.79 | cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. | 14 | 14 | 1 | 3K | 0 | 0.7 | 32.1 | MIT | 11 years ago | |
| phrity/comparison | 0.79 | Lightweight PHP interfaces and a helper trait for object comparisons. Implement Equalable/Comparable (or just compare() via ComparisonTrait) to get equals/greater/less helpers, plus a Comparator utility for sorting and filtering. Compatible with PHP 7.1+. | 0 | 0 | 0 | 51K | 0 | 3.6 | 56.6 | MIT | 11 months ago | |
| spatie/array-functions | 0.79 | Handy PHP array utilities from Spatie. Adds small, focused functions in the Spatie namespace (e.g., array_rand_value to pick a random value) to complement built-in array helpers. Install via Composer and use directly in your code. | 245 | 248 | 38 | 5K | 0 | 6.6 | 18.7 | MIT | 1 year ago | |
| php-standard-library/comparison | 0.79 | Interfaces and functions for type-safe, consistent value comparison in PHP, part of the PHP Standard Library. Provides predictable equality and ordering semantics across values, helping you write reliable, uniform comparison logic in your applications. | 1 | 1 | 0 | 90K | 0 | 21.5 | 64.8 | MIT | 1 week ago | |
| kamyshev/array_actions | 0.78 | kamyshev/array_actions is a lightweight PHP/Laravel package offering reusable action helpers for common array transformations and manipulation, helping keep array-handling code cleaner and more expressive with less boilerplate. Ideal for simplifying repetitive array logic in small projects and large... | 3 | 4 | 1 | 0 | 1 | 0.1 | — | MIT | 8 years ago | |
| sajadsdi/array-dot-notation | 0.78 | Lightweight, high-performance PHP helper to get, set, delete, and check nested array values using dot notation. Supports multi-key operations, default values, key mapping on output, and callbacks for get/set behavior. | 4 | 5 | 0 | 162 | 0 | 1.8 | 21.1 | MIT | 2 years ago | |
| nahid/qarray | 0.78 | QArray is a lightweight PHP package for querying arrays with a fluent, SQL-like API. Filter, sort, group, and pluck structured data using expressive methods, making it useful in Laravel apps and any PHP project that needs simple in-memory array queries. | 107 | 106 | 23 | 6K | 5 | 2.6 | 25.4 | CC0-1.0 | 1 year ago | |
| sebastian/comparator | 0.77 | Compare PHP values for equality with dedicated comparators for scalars, arrays, objects, dates, and more. Part of PHPUnit, it reports detailed differences via ComparisonFailure exceptions and ships a Factory for selecting the right comparator. | 7,042 | 7,061 | 74 | 16M | 1 | 52.9 | 52.7 | BSD-3-Clause | 2 months ago | |
| minwork/array | 0.77 | Minwork Array provides fast, well-tested helpers for nested, associative, and object arrays. Get/set/has plus map, filter, find, group, sort, and validation, with fluent-style chaining. No dependencies; modern PHP syntax. | 63 | 66 | 12 | 7K | 1 | 5.4 | 27.8 | MIT | 6 years ago | |
| coduo/php-matcher | 0.77 | Flexible PHP pattern-matching library for testing and validating complex data structures. Compare arrays, JSON and objects against readable expectations, with rich mismatch descriptions to pinpoint differences. Useful for API response assertions and custom validation rules. | 838 | 843 | 85 | 206K | 5 | 19.6 | 36.2 | MIT | 10 months ago | |
| igorw/get-in | 0.77 | — | 395 | 395 | 23 | 159K | 1 | 3.1 | 36.7 | MIT | — | |
| transprime-research/arrayed | 0.77 | Arrayed brings fluent, chainable array helpers to Laravel and PHP, making it simple to filter, map, group, sort, and transform nested data with clean, readable syntax. A lightweight toolkit for everyday array manipulation without boilerplate. | 22 | 22 | 1 | 10 | 2 | 0.8 | 2.2 | MIT | 2 years ago | |
| andrey-helldar/pretty-array | 0.77 | Pretty Array is a lightweight PHP package for rendering arrays in a clean, readable, colorized format. It simplifies debugging nested data and works with Laravel or standalone PHP projects. | 17 | — | 1 | — | 0 | 0.1 | — | MIT | 1 year ago |
|
How can I help you explore Laravel packages today?