PHPackages                             hphio/logging-configurator - 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. hphio/logging-configurator

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

hphio/logging-configurator
==========================

Loads and manages logging configuration files for an API service.

v1.0.5(7y ago)07701PHPPHP ^7.2

Since Oct 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mjmunger/logging-configurator)[ Packagist](https://packagist.org/packages/hphio/logging-configurator)[ RSS](/packages/hphio-logging-configurator/feed)WikiDiscussions master Synced today

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

loggingConfigurator
===================

[](#loggingconfigurator)

Loads and manages logging configuration files for an API service.

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/546403c78a31de2d4e2f83c85c453ee1a4324062359aa1a20ad99284b4984734/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6a6d756e6765722f6c6f6767696e67436f6e666967757261746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mjmunger/loggingConfigurator/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f9b2c13e4b9ebf89c02fc1743fa707ea91d774f786cad664f087261f2ba8dbc8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6a6d756e6765722f6c6f6767696e67436f6e666967757261746f722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mjmunger/loggingConfigurator/?branch=master)[![Build Status](https://camo.githubusercontent.com/cffecaec7f66ef1ceb932e6f0e2ef1dfbcde9585c34ac81a12ce40a5c7ef563f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6a6d756e6765722f6c6f6767696e67436f6e666967757261746f722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mjmunger/loggingConfigurator/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/3b96dfeb9a788e78dda2ec4a8a869b80d5cec615a54e6e00e9dc7161f4ff1fef/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6a6d756e6765722f6c6f6767696e67436f6e666967757261746f722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

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

[](#installation)

`composer require hphio/logging-configurator`

Requirements
------------

[](#requirements)

This was developed on, and intended for PHP v7.0+. It *may* work on lower versions, but YMMV.

How to use this package
-----------------------

[](#how-to-use-this-package)

This package is designed to load and configure Monolog instances for use inside your classes. It will look for a file called `config/logging.json`, which should have the following structure:

```
{
  "services" : [
    {
      "name" : "auth",
      "enabled" : true,
      "path" : "/var/log/apache2/foo/",
      "filename" : "auth.log"
    },
    {
      "name" : "accounts",
      "enabled" : false,
      "path" : "/home/baruser/log/",
      "filename" : "accounts.log"
    }
  ]
}

```

Once you have configured a service that requires logging, this package will configure and instantiate a Monolog instance according to the settings you've setup. If you attempt to load a service that is not configured, it will simply return false.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

Every ~2 days

Total

6

Last Release

2762d ago

### Community

Maintainers

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

---

Top Contributors

[![mjmunger](https://avatars.githubusercontent.com/u/6370814?v=4)](https://github.com/mjmunger "mjmunger (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hphio-logging-configurator/health.svg)

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

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k189.7M258](/packages/symfony-monolog-bridge)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)

PHPackages © 2026

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