sebastian/comparator
sebastian/comparator compares PHP values for equality with type-aware comparators. Use the Factory to select the right comparator and get helpful ComparisonFailure details when assertions fail—ideal for test suites and tooling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phrity/comparison | 0.90 | 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 | 43K | 0 | 9.0 | 59.2 | — | 7 months ago | |
| php-standard-library/comparison | 0.88 | Small PHP comparison utilities that provide consistent, reusable ways to compare values. Useful for sorting, equality checks, and custom comparator functions without rewriting boilerplate across your projects. | 1 | 1 | 0 | 34K | 0 | 19.8 | 64.2 | MIT | 1 month ago | |
| boulzy/array-comparator | 0.88 | 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. | 0 | 0 | — | 0 | — | 0.0 | — | — | — |
How can I help you explore Laravel packages today?