wyrihaximus/react-phpunit-run-tests-in-fiber
PHPUnit trait to run each test inside a PHP Fiber, making it easy to use ReactPHP async/await in tests. Includes optional per-test or per-class timeout attributes to fail slow tests (without stopping the running fiber).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wyrihaximus/async-test-utilities | 0.87 | Async test utilities for PHP/React tests. Extend AsyncTestCase to run each test inside a Fiber, get random namespaces/directories for filesystem tests, and control per-test or per-class timeouts via the TimeOut attribute (default 30s). | 4 | 4 | 0 | 13K | 1 | 29.5 | 55.3 | MIT | 4 days 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 | 33K | 2 | 25.1 | 51.7 | MIT | 1 year ago | |
| php-standard-library/async | 0.81 | Fiber-based async primitives for PHP: structured concurrency with cooperative multitasking. Run tasks concurrently, manage lifecycles, cancellations, and scopes predictably. Part of PHP Standard Library; docs and guides at php-standard-library.dev. | 1 | 0 | 0 | 8K | 0 | 20.6 | 58.7 | MIT | 2 weeks ago | |
| react/http | 0.78 | Event-driven, streaming HTTP client and server for ReactPHP. Send many concurrent async HTTP/HTTPS requests, handle redirects/timeouts/auth, and stream request/response bodies. Build plain HTTP or secure HTTPS servers on ReactPHP Socket and EventLoop. | 781 | 790 | 167 | 399K | 14 | 43.0 | 53.9 | MIT | 1 year ago | |
| facile-it/paraunit | 0.65 | Run PHPUnit test suites faster by executing tests in parallel across multiple processes. Includes Symfony-based CLI, compatibility across PHPUnit/Symfony versions, and parallel code coverage generation (auto-chooses PCOV, Xdebug, or PHPDbg). | 145 | 146 | 18 | 31K | 14 | 35.0 | 45.0 | Apache-2.0 | 1 month ago | |
| phperf/phpunit | 0.64 | phperf/phpunit is a lightweight PHPUnit extension aimed at profiling and performance measurement during test runs. Add simple hooks to capture timing and resource usage so you can spot slow tests and track performance regressions over time. | 0 | 0 | 0 | 68 | 0 | 20.9 | 29.9 | NOASSERTION | 3 years ago | |
| sanmai/phpunit-double-colon-syntax | 0.62 | PHPUnit extension that adds support for “double colon” syntax in tests, improving readability when referencing classes and methods. Lightweight and focused, it helps you write clearer PHPUnit test code with a familiar static-style notation. | 0 | 0 | 0 | 927 | 0 | 21.2 | 48.7 | BSD-3-Clause | 7 months ago | |
| http-interop/http-factory-tests | 0.62 | PHPUnit test suite to verify PSR-17 HTTP factory implementations. Configure phpunit.xml with constants pointing to your Request/Response/ServerRequest/Stream/UploadedFile/Uri factory classes, then run the included integration tests from vendor. | 11 | 12 | 8 | 15K | 0 | 21.6 | 50.3 | MIT | 5 years ago |
How can I help you explore Laravel packages today?