phpunitgoodpractices/polyfill
Polyfill library for PHPUnit best practices, providing compatibility helpers and shims to keep test suites consistent across PHPUnit versions. Useful for package maintainers aiming for cleaner, more portable tests without forcing specific PHPUnit upgrades.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yoast/phpunit-polyfills | 0.86 | Polyfills to write PHPUnit tests compatible across versions. Provides traits, test cases, and utilities that bridge API changes so one test suite can run on PHPUnit 7.5–9 and 11–12. Requires PHP 7.1+. | 183 | 183 | 13 | 1M | 4 | 29.8 | 64.0 | BSD-3-Clause | 7 months ago | |
| symfony/polyfill-php72 | 0.83 | Symfony Polyfill for PHP 7.2: backports core and mbstring functions like spl_object_id, stream_isatty, mb_ord/mb_chr/mb_scrub, utf8_encode/decode, plus PHP 7.2 constants (PHP_FLOAT_*, PHP_OS_FAMILY) and Windows VT100 support. | 4,750 | 4,755 | 6 | 4M | 0 | 23.9 | 41.0 | MIT | — | |
| symfony/polyfill-php73 | 0.82 | Provides PHP 7.3 compatibility helpers for older runtimes via the Symfony Polyfill component. Adds missing functions and constants so libraries can target newer PHP features while still running on legacy versions, easing upgrades and dependency support. | 2,387 | 2,391 | 6 | 6M | 0 | 12.1 | 47.0 | MIT | — | |
| symfony/polyfill-php84 | 0.81 | Symfony Polyfill for PHP 8.4 features on older runtimes. Adds helpers like array_find/array_any/array_all, bcdivmod, Deprecated attribute, fpow, grapheme_str_split, mb_* trim/ucfirst/lcfirst, ReflectionConstant, and CURL HTTP/3 constants. | 133 | 133 | 4 | 10M | 0 | 0.8 | 55.3 | MIT | — | |
| phpunit/phpunit-mock-objects | 0.80 | Default mock object library for PHPUnit. Create test doubles (mocks, stubs, spies) to isolate units under test, define expectations, control method returns, and verify interactions. Designed for PHPUnit projects and compatible with PHP 7.1+. | 4,938 | 5,056 | 153 | 542K | 0 | 25.2 | 33.2 | NOASSERTION | 12 years ago |
How can I help you explore Laravel packages today?