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.88 | 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+. | 189 | 186 | 13 | 2M | 5 | 10.3 | 56.4 | BSD-3-Clause | 1 year ago | |
| symfony/polyfill-php80 | 0.84 | Symfony polyfill providing PHP 8.0 features on older PHP versions, including str_contains, str_starts_with, str_ends_with, Stringable, ValueError, PhpToken, fdiv, get_debug_type, and related functions/constants. MIT licensed. | 1,722 | 1,728 | 26 | 32M | 0 | 29.0 | 64.1 | MIT | 1 month ago | |
| symfony/polyfill-php81 | 0.84 | Symfony polyfill providing PHP 8.1 features on older PHP versions: array_is_list, enum_exists, ReturnTypeWillChange, MYSQLI_REFRESH_REPLICA, and CURLStringFile. | 877 | 880 | 8 | 13M | 0 | 17.4 | 60.7 | MIT | 5 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,723 | 4,743 | 5 | 4M | 0 | 23.8 | 40.7 | MIT | — | |
| symfony/polyfill-php86 | 0.83 | Symfony polyfill that backports PHP 8.6 features to older PHP versions, including clamp(), the ARRAY_FILTER_USE_VALUE constant, the SortDirection enum, and grapheme_strrev. A lightweight MIT-licensed compatibility layer for existing projects. | 22 | 14 | 0 | 17M | 0 | 20.3 | 64.1 | MIT | 1 month ago | |
| symfony/polyfill-php73 | 0.82 | Symfony polyfill providing PHP 7.3 functions on older PHP versions: array_key_first, array_key_last, hrtime, is_countable, and JsonException. Drop-in compatibility, MIT licensed. | 2,369 | 2,372 | 6 | 9M | 0 | 22.5 | 53.6 | MIT | 6 months ago |
How can I help you explore Laravel packages today?