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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 31K | 0 | 21.2 | 64.8 | MIT | 1 week 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 | — | — | — | |
| hamcrest/hamcrest-php | 0.56 | Official PHP port of Hamcrest matchers for expressive assertions in tests. Use MatcherAssert::assertThat() or convenient global functions (assertThat, equalTo, is, both/andAlso, either/orElse) to build readable, composable matchers with PHP-friendly typing. | 7,010 | 7,022 | 46 | 9M | 10 | 31.5 | 47.6 | NOASSERTION | 1 year ago | |
| fabpot/php-cs-fixer | 0.53 | PHP CS Fixer is a command-line tool for automatically fixing PHP coding standards issues. It formats and modernizes code using configurable rulesets, supports custom rule configurations, and helps keep projects consistent and clean across teams and CI. | 13,520 | 13,538 | 1,634 | 21K | 44 | 85.5 | 39.5 | MIT | 3 weeks ago | |
| friendsofphp/php-cs-fixer | 0.53 | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom config to unify style, modernize PHP/PHPUnit code, and apply safe or risky migrations. Supports PHP 7.4–8.5. | 13,520 | 13,609 | 1,635 | 5M | 44 | 86.2 | 72.3 | MIT | 3 weeks ago | |
| bovigo/assert | 0.53 | Functional-style assertions for PHP unit tests. Use assertThat(value, predicate[, description]) for readable checks with helpful failure messages. Integrates with PHPUnit via AssertionFailure extending AssertionFailedError. Requires PHP 8.3+. | 13 | 13 | 6 | 799 | 1 | 19.4 | 26.9 | BSD-3-Clause | 6 months ago |
How can I help you explore Laravel packages today?