psr/log
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| illuminate/log | 0.88 | Illuminate Log provides Laravel’s logging layer, built on Monolog. It lets you write messages to configurable channels and stacks, including single files, daily rotation, syslog, errorlog, and external services, with context data, processors, and runtime channel selection. | 62 | 64 | 9 | 332K | 0 | 0.6 | 51.4 | MIT | — | |
| psr/link | 0.85 | PSR-13 link definition interfaces for PHP. Provides standard LinkInterface and LinkProviderInterface contracts used to describe and expose web links. Not an implementation—interfaces only; use a compatible psr/link-implementation package. | 2,502 | 2,513 | 13 | 3M | 0 | 12.9 | 42.0 | MIT | — | |
| colinodell/psr-testlogger | 0.84 | 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. | 17 | 17 | 5 | 473K | 0 | 21.7 | 65.0 | MIT | 5 months ago | |
| mpdf/psr-log-aware-trait | 0.83 | Provides a PSR-3 LoggerAwareTrait implementation used by mPDF components. Adds simple logger injection and access following the psr/log LoggerAwareInterface, making it easy to add optional logging support without duplicating boilerplate across classes. | 63 | 64 | 0 | 2M | 0 | 0.3 | 55.3 | — | — | |
| 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 | 156K | 0 | 21.4 | 65.0 | MIT | 4 months ago | |
| consolidation/log | 0.81 | A lightweight Laravel logging package that consolidates and formats application logs, helping you centralize output, reduce noise, and improve readability. Designed for easy integration and configuration across environments for consistent, structured logging. | 154 | 155 | 6 | 1M | 0 | 1.0 | 53.5 | NOASSERTION | — | |
| doctrine/deprecations | 0.81 | Side-effect-free deprecation layer for PHP libs. Send E_USER_DEPRECATED notices to trigger_error or a PSR-3 logger, optionally just track them. Supports deduplication, suppression by identifier or package, and reporting counts of triggered deprecations. | 1,845 | 1,852 | 20 | 12M | 6 | 35.7 | 64.1 | MIT | 2 months ago | |
| staabm/phpstan-psr3 | 0.80 | PHPStan rules that detect PSR-3 logger misuse and security pitfalls: invalid placeholders, context issues, and message formatting mistakes. Works with psr/log, Monolog, Laravel (illuminate/log, LogManager), and REDAXO rex_logger. | 23 | 23 | 1 | 31K | 1 | 21.4 | 50.5 | MIT | 11 months ago | |
| monolog/monolog | 0.79 | Monolog is a PSR-3 compatible logging library for PHP. Send logs to files, sockets, databases, and many web services via a rich set of handlers, formatters, and processors, enabling simple setups and advanced logging strategies. | 21,396 | 22,257 | 1,905 | 15M | 25 | 77.4 | 61.2 | MIT | 3 months ago |
How can I help you explore Laravel packages today?