PHPackages                             websvc/php-monolog-wrapper - 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. websvc/php-monolog-wrapper

ActiveLibrary

websvc/php-monolog-wrapper
==========================

A PHP wrapper for monolog.

1.0.0(7y ago)1262MITPHP

Since Oct 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/websvcPT/php-monolog-wrapper)[ Packagist](https://packagist.org/packages/websvc/php-monolog-wrapper)[ RSS](/packages/websvc-php-monolog-wrapper/feed)WikiDiscussions master Synced 1mo ago

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

php-monolog-wrapper
===================

[](#php-monolog-wrapper)

A PHP wrapper for monolog

Install
-------

[](#install)

```
composer require websvc/php-monolog-wrapper 1.0.0
```

Requires Monolog -

Usage
-----

[](#usage)

```
$log = new websvc/php-monolog-wrapper('logger-name', [
            'logFile' => '/tmp/mylog.log',
            'loggerLevel'=> 'DEBUG',    // Set logging level
            'toStderr'=> true           // Log output to stderr
        ]);

$log->addLog('INFO', "My info message ", ["a call identifier"]);
$log->addLog('DEBUG', "My debug message ", ["a call identifier"]);
$log->addLog('ERROR', "My error message ", ["a call identifier"]);

function myFunction(){

    global $log;

    echo "Hello World!";

    $log->addLog('DEBUG', "Function was called! ", [__FUNCTION__]);

}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Unknown

Total

1

Last Release

2763d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82408143ff5ef3329c0fff88abd46366a84c7244a43e11dffe1de80f591ba904?d=identicon)[websvc](/maintainers/websvc)

---

Top Contributors

[![websvcPT](https://avatars.githubusercontent.com/u/1758961?v=4)](https://github.com/websvcPT "websvcPT (3 commits)")

### Embed Badge

![Health badge](/badges/websvc-php-monolog-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/websvc-php-monolog-wrapper/health.svg)](https://phpackages.com/packages/websvc-php-monolog-wrapper)
```

###  Alternatives

[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[drevops/git-artifact

Package artifact from your codebase in CI and push it to a separate git repo.

2133.2k](/packages/drevops-git-artifact)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)

PHPackages © 2026

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