PHPackages                             smtlogger/smtlogger - 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. smtlogger/smtlogger

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

smtlogger/smtlogger
===================

An outbox logger for u

v2.0.1(4y ago)1776Apache-2.0PHPPHP &gt;=7.2

Since Dec 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/php-cpm/smtlogger)[ Packagist](https://packagist.org/packages/smtlogger/smtlogger)[ RSS](/packages/smtlogger-smtlogger/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

SmtLogger
=========

[](#smtlogger)

when using frameworks we found it is hard to extend local loggers

after all, we need to write logs to many paths for each own business

so this came out

Versions
--------

[](#versions)

- 1.X for monolog 1.X and php 5.6+
- 2.X for monolog 2.X and php 7.3+

Processors
----------

[](#processors)

- HostNameProcessor logs machine name
- HostProcessor logs machine ipv4 address, it is likely to be a internal ip
- RequestIdProcessor logs a special id for each request

3 simple Processors to make each log more readable on large scale applications

HOW TO USE
----------

[](#how-to-use)

```
use SmtLogger\Logger;

Logger::getDefaultLogger()->addInfo('WHATEVER U WANT TO LOG IN A LINE OF STRING');

```

you may set PHP environment variables `SMT_LOG_PATH` and `SMT_EXCEPTION_LOG_PATH` to move logs to other paths,may be use `dotEnv`

```
SMT_LOG_PATH=/tmp/my_logs/

```

you may extends `SmtLogger\SmtLogger` to make your own Logger

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

1748d ago

Major Versions

v1.0.0 → v2.0.12021-09-16

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.4

v2.0.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff25f8f1ab71fb6f5f8ff1be6814227641f27de8c270eaa42160e669308c3407?d=identicon)[php-cpm](/maintainers/php-cpm)

---

Top Contributors

[![php-cpm](https://avatars.githubusercontent.com/u/14024606?v=4)](https://github.com/php-cpm "php-cpm (3 commits)")

---

Tags

loggermonolog

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[theorchard/monolog-cascade

Monolog extension to configure multiple loggers in the blink of an eye and access them from anywhere

1482.2M9](/packages/theorchard-monolog-cascade)[inpsyde/wonolog

Monolog-based logging package for WordPress.

184631.3k7](/packages/inpsyde-wonolog)[logtail/monolog-logtail

Logtail handler for Monolog

233.5M3](/packages/logtail-monolog-logtail)[bitrix-expert/monolog-adapter

Monolog adapter for Bitrix CMS

6566.6k](/packages/bitrix-expert-monolog-adapter)[glopgar/monolog-timer-processor

A processor for Monolog that adds timing info to the message contexts

1570.3k](/packages/glopgar-monolog-timer-processor)[nextras/tracy-monolog-adapter

Nextras Tracy-Monolog Adapter

1129.1k](/packages/nextras-tracy-monolog-adapter)

PHPackages © 2026

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