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+. | 185 | 184 | 13 | 2M | 4 | 13.5 | 57.5 | BSD-3-Clause | 9 months ago | |
| symfony/polyfill-php80 | 0.84 | Backport of PHP 8.0 core features for older runtimes. Adds Stringable, fdiv, ValueError/UnhandledMatchError, FILTER_VALIDATE_BOOL, get_debug_type, PhpToken, preg_last_error_msg, str_contains/starts_with/ends_with, and get_resource_id. | 1,733 | 1,738 | 26 | 16M | 0 | 28.1 | 63.5 | MIT | 1 month ago | |
| symfony/polyfill-php84 | 0.84 | Symfony Polyfill for PHP 8.4 features on older runtimes. Adds functions like array_find/any/all, bcdivmod, fpow, grapheme_str_split, mb_* trim/ucfirst/lcfirst, Deprecated attribute, cURL HTTP/3 constants, PDO driver subclasses, and ReflectionConstant. | 137 | 138 | 5 | 11M | 0 | 22.6 | 65.0 | MIT | 1 week ago | |
| symfony/polyfill-php81 | 0.84 | Symfony Polyfill for PHP 8.1 features on older runtimes. Adds array_is_list, enum_exists, MYSQLI_REFRESH_REPLICA, ReturnTypeWillChange, and CURLStringFile (PHP 7.4+). Drop-in Composer dependency for wider compatibility. | 885 | 886 | 7 | 8M | 0 | 26.1 | 64.4 | MIT | 1 week ago | |
| symfony/polyfill-php73 | 0.84 | Symfony Polyfill for PHP 7.3: provides missing core features on older PHP versions, including array_key_first/last, hrtime, is_countable, and JsonException. Part of Symfony’s polyfill set for forward-compatible apps. | 2,385 | 2,388 | 6 | 6M | 0 | 30.7 | 54.5 | MIT | 1 month ago | |
| symfony/polyfill-php83 | 0.83 | Symfony Polyfill for PHP 8.3 features on older runtimes. Adds json_validate, Override attribute, mb_str_pad, str_increment/str_decrement, updated LDAP/stream context signatures, Date/SQLite3 exception classes, and more. | 431 | 432 | 6 | 13M | 0 | 24.1 | 65.0 | MIT | 1 week ago | |
| symfony/polyfill | 0.83 | Symfony Polyfill backports newer PHP features and adds compatibility layers for missing extensions/functions, helping apps run across diverse PHP versions. Includes polyfills for mbstring/iconv, intl, uuid, APCu/APC, and many PHP 7–8 functions/constants. | 2,810 | 2,809 | 158 | 39K | 0 | 40.6 | 19.0 | MIT | 1 week 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,742 | 4,749 | 6 | 4M | 0 | 23.9 | 41.0 | MIT | — |
How can I help you explore Laravel packages today?