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

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

phpgenesis/logger
=================

Logger for PHPGenesis

v1.10.0(4mo ago)06.5k↓84.9%2BSD-3-ClausePHPPHP ^8.3|^8.4|^8.5

Since May 1Pushed 4mo agoCompare

[ Source](https://github.com/PHPGenesis/Logger)[ Packagist](https://packagist.org/packages/phpgenesis/logger)[ RSS](/packages/phpgenesis-logger/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (3)Versions (104)Used By (2)

PHPGenesis/Logger
=================

[](#phpgenesislogger)

The PHPGenesis Logger is an abstraction layer on top of the Laravel Log Facade and Monolog.

### Installation

[](#installation)

To install the Logger package, you can use Composer:

```
composer require phpgenesis/logger
```

### Usage

[](#usage)

To log a message, use the `PHPGenesis\Logger\Logger` class.

```
use PHPGenesis\Logger\Logger;
```

The following methods are available for you to use via `Logger`:

```
$message = 'This is an example logger message';

Logger::debug($message);
Logger::info($message);
Logger::notice($message);
Logger::warning($message);
Logger::error($message);
Logger::critical($message);
Logger::alert($message);
Logger::emergency($message);
```

All methods all accept an additional optional parameter for context data. The context data must be an array and defaults to an empty array if not supplied

The `Logger` class will determine if the Laravel Log Facade is available and use it, otherwise it will use Monolog. If Laravel is available, the `Logger` class will use the Laravel configuration settings for logging. Otherwise, `Logger` will use the settings configured in your `phpgenesis.json` file.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance76

Regular maintenance activity

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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 ~6 days

Recently: every ~18 days

Total

103

Last Release

133d ago

Major Versions

v0.3.16 → v1.3.32025-08-10

PHP version history (3 changes)v0.1.0PHP ^8.2

v0.2.1PHP ^8.3

v1.9.3PHP ^8.3|^8.4|^8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50760632?v=4)[Marc Beinder](/maintainers/onairmarc)[@onairmarc](https://github.com/onairmarc)

---

Top Contributors

[![onairmarc](https://avatars.githubusercontent.com/u/50760632?v=4)](https://github.com/onairmarc "onairmarc (1 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k203.8M356](/packages/symfony-monolog-bridge)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M623](/packages/illuminate-log)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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