amphp/phpunit-util
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...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| matthiasnoback/phpunit-asynchronicity | 0.86 | PHPUnit/Behat helper for testing asynchronous behavior. Provides assertEventually() to retry a callable until assertions pass or a timeout occurs—useful for waiting on files, processes, or UI updates, with configurable timeout and polling interval. | 36 | 36 | 7 | 8K | 0 | 3.7 | 32.5 | MIT | 2 years ago | |
| wyrihaximus/react-phpunit-run-tests-in-fiber | 0.86 | 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). | 0 | 0 | 0 | 17K | 1 | 1.6 | 56.0 | MIT | 1 year ago | |
| wyrihaximus/async-test-utilities | 0.85 | Async testing utilities for PHP/React: extend AsyncTestCase to run each PHPUnit test inside a Fiber with a default 30s timeout. Includes TimeOut attribute (class/method), plus helpers like random namespaces/directories and callable expectation utilities. | 4 | 4 | 0 | 21K | 1 | 27.7 | 57.8 | MIT | 1 month ago | |
| amphp/http | 0.83 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 103 | 103 | 10 | 895K | 1 | 8.0 | 54.7 | MIT | 1 year ago | |
| amphp/websocket-client | 0.83 | Async WebSocket client for PHP built on Amp. Connect to ws/wss endpoints with fiber-friendly concurrency, consume realtime APIs, test WebSocket servers, and support custom handshakes, headers, heartbeats, and rate limits. | 162 | 164 | 16 | 671K | 6 | 12.5 | 53.1 | MIT | 9 months ago | |
| phpcr/phpcr-api-tests | 0.83 | Test suite for the PHP Content Repository (PHPCR) API. Provides reusable, vendor-neutral compliance tests to validate PHPCR implementations against the specification, helping ensure consistent behavior across repositories and adapters. | 21 | 22 | 21 | 939 | 6 | 10.9 | 25.5 | NOASSERTION | 2 years ago |
How can I help you explore Laravel packages today?