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 | 322K | 0 | 0.6 | 51.2 | MIT | — | |
| adheart/logging | 0.86 | — | 0 | 0 | 0 | 10 | 1 | 0.1 | 14.4 | — | — | |
| 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,501 | 2,510 | 13 | 3M | 0 | 12.9 | 42.1 | MIT | — | |
| pear/log | 0.84 | PEAR Log provides a simple, standardized logging system for PHP. It supports multiple backends (file, console, syslog, database, mail, etc.), configurable priorities and formatting, and a consistent API to route application messages wherever you need. | 51 | 54 | 19 | 38K | 1 | 7.7 | 40.3 | MIT | 10 months ago | |
| psr-discovery/log-implementations | 0.84 | Discover available PSR-3 logger implementations at runtime without hard dependencies. Searches for well-known classes and returns the first compatible LoggerInterface instance, ideal for SDKs and libraries; supports multiple popular loggers and mocking/testing options. | 8 | 8 | 0 | 442K | 0 | 0.9 | 55.3 | MIT | 1 year ago | |
| antonchernik/logging-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.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. | 18 | 18 | 5 | 535K | 0 | 10.1 | 59.3 | MIT | 7 months ago | |
| samdark/yii2-psr-log-target | 0.84 | Yii2 log target that forwards Yii log messages to any PSR-3 logger (e.g., Monolog). Configure PsrTarget in the log component, choose levels, and optionally add real event timestamps to the log context for accurate timing. | 84 | 84 | 14 | 42K | 2 | 5.4 | 38.3 | BSD-3-Clause | 2 years ago | |
| fr3d/psr3-message-assertions | 0.84 | 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 | |
| etukenmez/simple-log | 0.84 | Simple Laravel logging helper that wraps common log actions into an easy API. Quickly write info, warning, error, and debug entries with clean defaults, optional context data, and minimal setup—handy for small apps and packages needing straightforward logs. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| adityasetiono/api-logger-bundle | 0.83 | Symfony2 bundle that logs REST API requests/responses (default /api/), tracks duration, and flags slow calls. Configurable enable/disable and slow-time threshold, with optional separate Monolog channels/files for API and slow logs. | 0 | 0 | 1 | 0 | 0 | 0.9 | — | — | 8 years ago | |
| elastic/ecs-logging | 0.83 | — | 22 | 22 | 42 | 40K | 9 | 7.0 | 52.0 | Apache-2.0 | 2 years ago | |
| draw/log | 0.83 | Lightweight Laravel logging helper package providing a simple API to write structured log entries and streamline application debugging. Integrates with Laravel’s logger, supports common log levels, and keeps logging consistent across your services. | 0 | 0 | 0 | 2K | 0 | 0.0 | 44.5 | — | — | |
| averor/simple-logger | 0.83 | Simple, lightweight logger for PHP/Laravel apps. Provides an easy API to write log messages with minimal setup, useful for small projects, debugging, or when you want straightforward logging without extra configuration. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| 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. | 64 | 64 | 1 | 2M | 0 | 0.4 | 55.3 | — | — | |
| phrity/logger-console | 0.83 | PSR-3 compatible console logger for local tests and CLI apps. Configure verbosity levels (quiet to debug), customize output format with placeholders (datetime, level, message, context), and optionally read verbosity from CLI flags like -q/-v/-vv/-vvv. | 0 | 0 | 0 | 181 | 0 | 11.1 | 33.6 | MIT | 6 months ago | |
| alxishin/logs-bundle | 0.83 | — | 0 | 1 | 0 | 10 | 0 | 17.0 | 16.4 | MIT | 2 months ago | |
| bugsnag/bugsnag-psr-logger | 0.82 | PSR-3 logger implementation for Bugsnag. Provides BugsnagLogger to send notifications for messages above a configurable level, plus MultiLogger to fan out logs to Bugsnag and other PSR-3 loggers. Built on bugsnag-php. | 321 | 321 | 6 | 491K | 0 | 6.2 | 43.9 | MIT | 4 years ago | |
| catchamonkey/console-logger-bundle | 0.82 | — | 1 | 1 | 1 | 0 | 0 | 0.3 | — | — | 11 years ago | |
| digipolisgent/syslog-bundle | 0.82 | — | 0 | 0 | 0 | 5 | 0 | 1.6 | 10.8 | — | 8 years ago |
How can I help you explore Laravel packages today?