php-standard-library/comparison
Lightweight PHP comparison helpers from php-standard-library. Provides simple, reusable utilities for comparing values consistently across your codebase, aiming to reduce boilerplate and make sorting/equality checks easier in small projects.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/php-standard-library | 0.86 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,513 | 1,512 | 83 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| sebastian/comparator | 0.84 | sebastian/comparator compares PHP values for equality with type-specific comparators. Use the Factory to select the right comparator for two values and assertEquals() to verify matches, throwing a ComparisonFailure when differences are found. | 7,050 | 7,063 | 68 | 13M | 15 | 59.8 | 62.0 | BSD-3-Clause | 1 day ago | |
| eliashaeussler/deep-closure-comparator | 0.81 | 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 | 10K | 1 | 21.9 | 65.0 | GPL-3.0 | 1 month ago |
How can I help you explore Laravel packages today?