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(3mo ago)0121MITPHPPHP &gt;=8.4CI passing

Since Mar 22Pushed 3mo 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 3w ago

READMEChangelogDependencies (3)Versions (3)Used By (1)

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

40

—

FairBetter than 86% of packages

Maintenance82

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community10

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

93d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/68271130?v=4)[Mateo Ore](/maintainers/Mateodioev)[@Mateodioev](https://github.com/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

[amphp/log

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

402.8M78](/packages/amphp-log)[apix/log

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

511.1M20](/packages/apix-log)

PHPackages © 2026

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