PHPackages                             mateodioev/simple-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. mateodioev/simple-logger

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

mateodioev/simple-logger
========================

Simple PSR logger for PHP

v1.0.0(2d ago)01↓100%MITPHPPHP &gt;=8.4CI passing

Since Mar 22Pushed 2d agoCompare

[ Source](https://github.com/Mateodioev/simple-logger)[ Packagist](https://packagist.org/packages/mateodioev/simple-logger)[ RSS](/packages/mateodioev-simple-logger/feed)WikiDiscussions main Synced today

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

Simple psr logger
=================

[](#simple-psr-logger)

Installation
------------

[](#installation)

```
composer require kombyte/simple-logger
```

Usage
-----

[](#usage)

```
use SimpleLogger\Logger;
use SimpleLogger\streams\{CollectionStream, FileStream, StdoutStream};

$logger = new Logger(stream: new CollectionStream([
    new StdoutStream(),
    FileStream::async(__DIR__ . '/log.log'),
]));

$logger->debug('The debug message');
```

### Creating a new stream

[](#creating-a-new-stream)

A stream is a class that implements the `SimpleLogger\streams\LogStream` interface. You can create your own stream by implementing the `write` method.

```
use SimpleLogger\streams\LogStream;

class MyStream implements LogStream
{
    public function write(LogResult $message): void
    {
        // Write the message
    }
}
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance99

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% of commits — single point of failure

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

Unknown

Total

1

Last Release

2d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77e3f2a5c4e98caf6e911141af3d18235c658500e8b9e0a95ec251a803a39676?d=identicon)[Mateodioev](/maintainers/Mateodioev)

---

Top Contributors

[![Mateodioev](https://avatars.githubusercontent.com/u/68271130?v=4)](https://github.com/Mateodioev "Mateodioev (5 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (2 commits)")

---

Tags

psrasynclogger

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32131.8M2](/packages/bugsnag-bugsnag-psr-logger)[amphp/log

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

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

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

521.0M17](/packages/apix-log)

PHPackages © 2026

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