colinodell/psr-testlogger
A lightweight PSR-3 TestLogger for unit tests. Capture log records in memory, inspect messages, contexts, and levels, and make assertions without external handlers. Helpful for verifying expected logging behavior in PHPUnit and other test suites.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr/log | 0.84 | PSR-3 logging interfaces for PHP. Provides LoggerInterface, traits, and related classes to standardize how libraries accept and emit log messages. Not a logger implementation—use it to type-hint a logger or build your own PSR-3 compliant logger. | 10,440 | 10,622 | 189 | 18M | 0 | 34.4 | 44.6 | MIT | 1 year ago | |
| fr3d/psr3-message-assertions | 0.83 | PHPUnit helper to assert your application’s PSR-3 log messages follow the Logger spec. Use the included TestLogger as a logger dependency during tests to validate message formatting and context placeholders. Composer-installable, BSD-2-Clause. | 1 | 2 | 1 | 38 | 0 | 1.5 | 18.0 | NOASSERTION | 6 years ago | |
| fig/log-test | 0.82 | Testing utilities for PSR-3 (psr/log): includes LoggerInterfaceTest for verifying LoggerInterface compliance and TestLogger mock for unit tests. Intended for dev/test use, with versions aligned to psr/log 1.x–3.x compatibility. | 10 | 10 | 6 | 178K | 0 | 10.6 | 59.7 | MIT | 6 months ago |
How can I help you explore Laravel packages today?