PHPackages                             pluf/log - 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. pluf/log

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

pluf/log
========

Logger

7.0.0(5y ago)3185[2 issues](https://github.com/pluf/log/issues)2GPL-3.0+

Since Jan 26Pushed 5y ago2 watchersCompare

[ Source](https://github.com/pluf/log)[ Packagist](https://packagist.org/packages/pluf/log)[ Docs](https://pluf.ir)[ RSS](/packages/pluf-log/feed)WikiDiscussions master Synced 3w ago

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

Pluf Log
========

[](#pluf-log)

Many PHP logging libraries offer the most common functionality that any application might need; however, some libraries have advantages over others and some have taken a unique approach to logging. To standardize the solution, the PHP-FIG (PHP Framework Interop Group) recommended a logging interface that Pluf Log use as their logging API and build a custom logging system using it.

PSR-3 Logging Standard
----------------------

[](#psr-3-logging-standard)

The PSR-3 (PHP Standards Recommendation) logging standard defines a logging interface with eight methods (debug, info, notice, warning, error, critical, alert, emergency). The message passed to those functions should be a string or an object with a \_\_toString method to cast it into a string. You can read more about the PSR-3 logging standard in the [official documentation](https://www.php-fig.org/psr/psr-3/).

How to use
----------

[](#how-to-use)

It is so simple to use the Pluf logger. Here is a simple example:

```
use Pluf\Log\Logger;

// create a log channel
$loggger = Logger::get('logger name');

// add records to the log
$loggger->warning('Foo');
```

Internals
---------

[](#internals)

- [Contribute](CONTRIBUTING.md)
- [How Pluf Log works](doc/how-it-works.md)

License
-------

[](#license)

This project is released under the GNU GENERAL PUBLIC LICENSE V3 license. For more information see the [License file](LICENSE).

This documentation is also embedded in [Pluf DI's git repository](https://github.com/pluf/di/tree/master/doc)so you can read it offline (in the `doc/` folder).

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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

1983d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6371551?v=4)[Mostafa Barmshory](/maintainers/mostafabarmshory)[@mostafabarmshory](https://github.com/mostafabarmshory)

---

Top Contributors

[![mostafabarmshory](https://avatars.githubusercontent.com/u/6371551?v=4)](https://github.com/mostafabarmshory "mostafabarmshory (5 commits)")

---

Tags

psrlogpluf

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k247.1M335](/packages/sentry-sentry)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

521.1M20](/packages/apix-log)

PHPackages © 2026

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