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

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

mafof/simple-logger
===================

Simple and powerful decision for logging on PHP

00PHP

Since Jul 19Pushed 6y agoCompare

[ Source](https://github.com/mafof/simple-logger)[ Packagist](https://packagist.org/packages/mafof/simple-logger)[ RSS](/packages/mafof-simple-logger/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple logger for PHP
---------------------

[](#simple-logger-for-php)

This is simple package for writing and outputs logs. You can make custom method for outputting logs, example:

```
use SMLogger\Logger;
use SMLogger\Settings;
$settings = new Settings();
$settings->addPrefix('deb', 'DEBUG'); // add method

$logs = new Logger($settings);
$logs->deb('test message'); // call added method
```

Also be edit custom method, example:

```
use SMLogger\Logger;
use SMLogger\Settings;
$settings = new Settings();
$settings->setPrefix('info', 'INFORMATION OUT'); // edit method

$logs = new Logger($settings);
$logs->info('test message'); // call edited method
```

Here custom method means prefix before message logs.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1d2936267665cf017d88e9933d5fa6f62c81d75e6c38ecbe936d850365e721a?d=identicon)[mafof](/maintainers/mafof)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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