phrity/net-mock
Mocking layer for phrity/net-stream to simplify testing stream-based code. Drop-in compatible stream classes that can log all interactions via any PSR-3 logger and override behavior with callbacks. Includes PHPUnit expectation traits for asserting calls and parameters.
|
Package
|
Constraint
|
|---|---|
| phrity/net-stream | ~2.4.0 |
| phrity/net-uri | ^2.0 |
| psr/log | ^1.1 || ^2.0 || ^3.0 |
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^2.0 |
| phpunit/phpunit | ^10.0 || ^11.0 || ^12.0 || ^13.0 |
| phrity/net-uri | ^2.0 |
| robiningelbrecht/phpunit-coverage-tools | ^1.9 |
| squizlabs/php_codesniffer | ^4.0 |
How can I help you explore Laravel packages today?