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.88 | 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 | 9K | 6 | 2.1 | 28.6 | MIT | 3 years ago | |
| symfony/polyfill-php73 | 0.83 | 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 | |
| amphp/phpunit-util | 0.83 | Small utility for simplifying async testing in PHPUnit with AMPHP’s fiber-based concurrency. Integrates seamlessly with AsyncTestCase to run tests as coroutines, ensuring smooth execution of I/O-bound operations like sockets, streams, and HTTP requests. Works with PHP 8.1+. Ideal for testing concurr... | 22 | 22 | 8 | 22K | 1 | 4.8 | 41.1 | MIT | 1 year ago | |
| symfony/polyfill-php80 | 0.83 | 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.82 | 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-php83 | 0.82 | 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 | |
| herrera-io/phpunit-test-case | 0.82 | PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. | 1 | 1 | 0 | 77 | 0 | 0.0 | 15.6 | MIT | — |
How can I help you explore Laravel packages today?