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 | 5K | 6 | 2.1 | 26.1 | MIT | 3 years 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.2 | 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,726 | 1,738 | 26 | 16M | 0 | 25.2 | 62.1 | MIT | 3 months 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 | 29 | 0 | 0.0 | 11.6 | MIT | — |
How can I help you explore Laravel packages today?