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(2mo ago)06.4k↓50%2BSD-3-ClausePHPPHP ^8.3|^8.4|^8.5

Since May 1Pushed 2mo agoCompare

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

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

52

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity23

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

87d 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://www.gravatar.com/avatar/0c78c232b40f1006e496164f8cdbf70e91f945b5962b0d13aae14d076fda21e6?d=identicon)[onairmarc](/maintainers/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.6k189.7M258](/packages/symfony-monolog-bridge)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)

PHPackages © 2026

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