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

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

ext/logger
==========

PHP Logger

1.0.1(8mo ago)00MITPHPPHP &gt;=8.2

Since Oct 31Pushed 8mo agoCompare

[ Source](https://github.com/php-exts/logger)[ Packagist](https://packagist.org/packages/ext/logger)[ Docs](https://github.com/php-exts/logger)[ RSS](/packages/ext-logger/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (2)Used By (0)

About Logger
------------

[](#about-logger)

- Logger

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

[](#installation)

- Install with [Composer](https://getcomposer.org/)
    - `composer require ext/logger`

Features
--------

[](#features)

- Logger

Usage
-----

[](#usage)

```
use Zeus\Logger;

$logger = new Logger([
  'name' => 'zeus',
  'max' => 0,
  'permission' => 0644,
  'path' => '',
  'lock' => false,
  'level' => Level::Debug,
  'processors' => [],
  'handlers' => [],
  'timezone' => 'Asia/Shanghai',
  'output_format' => "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n",
  'date_format' => RotatingFileHandler::FILE_PER_DAY,
  'file_format' => "{filename}-{date}"
]);

$logger->info("Hello World", ['foo' => 'bar']);
$logger->debug("Hello World", ['foo' => 'bar']);
$logger->notice("Hello World", ['foo' => 'bar']);
$logger->warning("Hello World", ['foo' => 'bar']);
$logger->error("Hello World", ['foo' => 'bar']);
$logger->critical("Hello World", ['foo' => 'bar']);
$logger->alert("Hello World", ['foo' => 'bar']);
$logger->emergency("Hello World", ['foo' => 'bar']);
```

Documentation
-------------

[](#documentation)

-

CHANGELOG
---------

[](#changelog)

See CHANGELOG.md

Contributing
------------

[](#contributing)

-

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

-

License
-------

[](#license)

The Project is open-sourced software licensed under the MIT license.

More See

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance61

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

246d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6483352?v=4)[Cloudflying](/maintainers/imxieke)[@imxieke](https://github.com/imxieke)

---

Top Contributors

[![imxieke](https://avatars.githubusercontent.com/u/6483352?v=4)](https://github.com/imxieke "imxieke (2 commits)")

---

Tags

phplogger

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1861.6M3](/packages/justbetter-magento2-sentry)[logtail/monolog-logtail

Logtail handler for Monolog

243.6M3](/packages/logtail-monolog-logtail)[tomatophp/filament-logger

Log all user activity to file or log driver and preview it on your FilamentPHP panel

162.3k](/packages/tomatophp-filament-logger)

PHPackages © 2026

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