yoast/phpunit-polyfills
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+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpunitgoodpractices/polyfill | 0.89 | 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. | 11 | 11 | 1 | 8K | 6 | 2.1 | 28.5 | MIT | 3 years ago | |
| sempro/phpunit-pretty-print | 0.86 | Pretty-print PHPUnit test output for cleaner, more readable console runs. sempro/phpunit-pretty-print adds a nicer, compact format that highlights failures and progress, helping you scan results faster while keeping compatibility with standard PHPUnit workflows. | 183 | 185 | 25 | 65K | 3 | 4.3 | 35.8 | MIT | 5 years ago | |
| symfony/polyfill-php70 | 0.85 | Symfony Polyfill PHP 7.0 provides compatibility shims for older PHP versions, letting modern PHP 7+ functions and features run on legacy environments. Used by Symfony components and many libraries to ensure consistent behavior across PHP versions. | 3,183 | 3,185 | 7 | 881K | 0 | 16.1 | 33.8 | MIT | — | |
| symfony/polyfill | 0.85 | Symfony Polyfill backports newer PHP features and provides compatibility layers for missing extensions and functions, helping apps run across different PHP versions and configurations. It covers utilities like str_contains, array_key_first, mbstring/iconv, intl classes, UUID, and many PHP 7.2–8.x co... | 2,811 | 2,812 | 159 | 41K | 1 | 42.9 | 20.2 | MIT | 1 week ago | |
| dms/phpunit-arraysubset-asserts | 0.85 | Polyfill for PHPUnit’s deprecated/removed assertArraySubset. Adds Assert::assertArraySubset() and a trait to keep existing tests working. Uses native PHPUnit behavior when available; provides the missing assertion for PHPUnit 8+ while supporting older versions. | 144 | 147 | 34 | 598K | 3 | 5.3 | 53.2 | MIT | 3 years ago | |
| symfony/polyfill-php72 | 0.85 | 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-php85 | 0.85 | Symfony polyfill that brings PHP 8.5 core features to older PHP versions, including get_error_handler, get_exception_handler, NoDiscard, array_first, array_last, DelayedTargetValidation, Filter exceptions, and locale_is_right_to_left. MIT licensed. | 67 | 67 | 2 | 25M | 0 | 20.9 | 64.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?