PHPackages                             davidecesarano/embryo-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. davidecesarano/embryo-logger

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

davidecesarano/embryo-logger
============================

Minimalist and fast PSR-3 Stream logger.

1.0.2(5y ago)01192MITPHPPHP &gt;=7.1

Since Nov 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/davidecesarano/Embryo-Logger)[ Packagist](https://packagist.org/packages/davidecesarano/embryo-logger)[ Docs](https://github.com/davidecesarano/embryo-logger)[ RSS](/packages/davidecesarano-embryo-logger/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (2)

Embryo Logger
=============

[](#embryo-logger)

Minimalist and fast PSR-3 Stream logger.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1
- A [PSR-7](https://www.php-fig.org/psr/psr-7/) http message implementation and [PSR-17](https://www.php-fig.org/psr/psr-17/) http factory implementation (ex. [Embryo-Http](https://github.com/davidecesarano/Embryo-Http))

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

[](#installation)

Using Composer:

```
$ composer require davidecesarano/embryo-logger

```

Usage
-----

[](#usage)

Set `log` directory and create `logger` object. You can set `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info`, `debug` and `log` message.

```
use Embryo\Log\StreamLogger;

$logPath = __DIR__.DIRECTORY_SEPARATOR.'logs';
$logger  = new StreamLogger($logPath);

$message = "User {username} created";
$context = ['username' => 'bolivar'];

// info log
$logger->info($message, $context);
```

This example writes `User bolivar created` in the `info.log` file.

You may quickly test this using the built-in PHP server going to .

```
$ cd example
$ php -S localhost:8000

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~0 days

Total

3

Last Release

2009d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16277144?v=4)[Davide Cesarano](/maintainers/davidecesarano)[@davidecesarano](https://github.com/davidecesarano)

---

Top Contributors

[![davidecesarano](https://avatars.githubusercontent.com/u/16277144?v=4)](https://github.com/davidecesarano "davidecesarano (8 commits)")

---

Tags

logpsr-3php

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[markrogoyski/simplelog-php

Powerful PSR-3 logging. So easy, it's simple.

2818.1k4](/packages/markrogoyski-simplelog-php)[wa72/simplelogger

Wa72SimpleLogger is a collection of very simple loggers implementing \\Psr\\Log\\LoggerInterface (PSR-3)

13246.6k13](/packages/wa72-simplelogger)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)

PHPackages © 2026

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