PHPackages                             rocketphp/logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. rocketphp/logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

rocketphp/logger
================

Log to file - PSR Log interface

1.0.0(10y ago)015MITHTMLPHP &gt;=5.5

Since Sep 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rocketphp/logger)[ Packagist](https://packagist.org/packages/rocketphp/logger)[ Docs](https://github.com/rocketphp/logger)[ RSS](/packages/rocketphp-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

logger
======

[](#logger)

[![Build Status](https://camo.githubusercontent.com/dde8bf70c6bbc0c31b0192818e238676db4605df3b2f3742f48edfd6642b6ba2/68747470733a2f2f7472617669732d63692e6f72672f726f636b65747068702f6c6f676765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rocketphp/logger)[![Coverage Status](https://camo.githubusercontent.com/84f759bdc302b894b84d784891ce4fe5ca22b4831b0ac2aaeb5161bfc947f8c6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f726f636b65747068702f6c6f676765722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/rocketphp/logger?branch=master)[![Dependency Status](https://camo.githubusercontent.com/ef7bbceebdede8db8d3ea568f0a7214a7d06ea9bed94e3f2c9f6e472533ee534/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535653566303562386330663632303031623030303531382f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/55e5f05b8c0f62001b000518)

[![Latest Stable Version](https://camo.githubusercontent.com/6a6720a908a774f13ad61a37d44832f570bcc3d064c114a13435e2a380e47392/68747470733a2f2f706f7365722e707567782e6f72672f726f636b65747068702f6c6f676765722f762f737461626c65)](https://packagist.org/packages/rocketphp/logger)[![License](https://camo.githubusercontent.com/4bcfb12d1f354bcea2f2d649c5370c9f4154c525552f4bd9354b1033591bcd42/68747470733a2f2f706f7365722e707567782e6f72672f726f636b65747068702f6c6f676765722f6c6963656e7365)](https://packagist.org/packages/rocketphp/logger)

`RocketPHP\Logger` uses the PSR Log interface to log data to a static file.

***To log data*** – use the emergency, alert, critical, error, warning, notice, info and debug methods.

```
use RocketPHP\Logger as Logger;

$logger = new Logger(
                     'log',
                     Logger::CRITICAL
          );
$logger->emergency('Logged');
$logger->warning('NOT logged');
```

- File issues at
- Documentation is at

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49f1849bfe77d7b1f690702822ed209ba24bbb4918a8326287d43df7c6c7751b?d=identicon)[rocketphp](/maintainers/rocketphp)

---

Tags

loggerrocketphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rocketphp-logger/health.svg)

```
[![Health](https://phpackages.com/badges/rocketphp-logger/health.svg)](https://phpackages.com/packages/rocketphp-logger)
```

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.0M18](/packages/apix-log)[ytake/laravel-aspect

Aspect Oriented Programming library for laravel framework, and lumen

138132.2k1](/packages/ytake-laravel-aspect)[bref/logger

All you need to log with Bref on AWS Lambda

331.5M8](/packages/bref-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
