NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2749 most downloaded on Packagist
A customizable deep comparison library.
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 3 months to 4.8 years
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
7 releases · first in 2013
Please note, as of this release this project intends to support only those versions of PHP that are listed under the "Currently Supported Versions" se
Please note, as of this release this project intends to support only those
versions of PHP that are listed under the "Currently Supported Versions" section
of https://www.php.net/supported-versions.php. This means that support for older
PHP versions may be dropped in minor or patch releases.
This release contains several backwards compatibility breaks that will effect more advanced usage of Parity, however the common usage via Parity::comp
This release contains several backwards compatibility breaks that will effect
more advanced usage of Parity, however the common usage via Parity::compare()
is unchanged.
PackageInfo classComparatorInterface to ComparatorAnyComparableInterface to AnyComparableExtendedComparableInterface to ExtendedComparableSelfComparableInterface to SelfComparableSubClassComparableInterface to SubClassComparableAbstractExtendedComparable class, use ExtendedComparableTrait insteadOne column per quarter.
[BC] Drop support for PHP 5.x and PHP 7.0
Parity::min[Sequence](), max[Sequence]() (thanks @koden-km)Stable release (no API changes since 1.0.0-alpha.2).
[BC] SelfComparableInterface now requires the comparison operands to be the exactly same type.
SelfComparableInterface now requires the comparison operands to be the exactly same type.SubClassComparableInterface, similar to the previous behavior of SelfComparableInterface[BC] Removed deep parameter from Parity::compare() and related convenience methods
deep parameter from Parity::compare() and related convenience methodsComparableInterface and ComparatorAbstractComparable (replaced with AbstractExtendedComparable which does not implement any comparable interface)AnyComparableInterface and SelfComparableInterfaceComparatorInterface::__invoke()ObjectIdentityComparator, StrictPhpComparator and PhpComparatorParityComparator which compares numeric types in a more natural mannerInitial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →