PHPackages                             jacobemerick/monolog-pqp - 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. jacobemerick/monolog-pqp

ActiveLibrary

jacobemerick/monolog-pqp
========================

Monolog handler that interfaces with PHP Quick Profiler

0.1.2(10y ago)1391MITPHPPHP &gt;=5.3.0

Since Jan 13Pushed 10y agoCompare

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

READMEChangelog (3)Dependencies (9)Versions (4)Used By (0)

monolog-pqp
===========

[](#monolog-pqp)

[![Build Status](https://camo.githubusercontent.com/165fb1b192f587c1115253d10fcad02170e10b1ed88290ca8a0644ea4abdfa53/68747470733a2f2f7472617669732d63692e6f72672f6a61636f62656d657269636b2f6d6f6e6f6c6f672d7071702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jacobemerick/monolog-pqp)[![Code Climate](https://camo.githubusercontent.com/2a4de9541b6ddc960d68886ff4089543cb8c6a52acd37bd3ddfe52febfb5ffcc/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a61636f62656d657269636b2f6d6f6e6f6c6f672d7071702f6261646765732f6770612e737667)](https://codeclimate.com/github/jacobemerick/monolog-pqp)[![Test Coverage](https://camo.githubusercontent.com/d0887d0965a1d2254f5038b97c64ce5a88b6c49f3cf53584dfa25924a7d7b58f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a61636f62656d657269636b2f6d6f6e6f6c6f672d7071702f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/jacobemerick/monolog-pqp/coverage)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/38bd99d26fb3797311b2015d270d7b0ce9ba431a0df5ba189ec7466c5dbf5db7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a61636f62656d657269636b2f6d6f6e6f6c6f672d7071702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jacobemerick/monolog-pqp/?branch=master)

Monolog handler that interfaces with PHP Quick Profiler

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

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install MonologPQP Handler.

```
$ composer require jacobemerick/monolog-pqp
```

This will install the handler and dependencies. It requires PHP 5.3.0 or newer.

Usage
-----

[](#usage)

This is a handler for Monolog that will send logs and exceptions to PHP Quick Profiler. For more information about the profiler see [jacobemerick/pqp](https://github.com/jacobemerick/pqp).

```
$console = new Particletree\Pqp\Console();
$profiler = new Particletree\Pqp\PhpQuickProfiler();
$profiler->setConsole();

$logger = new Monolog\Logger('web');
$handler = new Jacobemerick\MonologPqp\PqpHandler($console);
$logger->pushHandler($handler);

$logger->addDebug('PQP handler added to Monolog');
```

The default logging level for this handler is set to `Monolog\Logger::DEBUG`. For more information about this, or how to customize the format displayed in the profiler, see [Seldaek/monolog](https://github.com/Seldaek/monolog).

### Errors

[](#errors)

PHP Quick Profiler handles exceptions separately, displaying more information about them and tagging as 'error'. If you simply do `$logger->error()` you will log the message but not get the extra sugar. The best way to handle this is by using Monolog as an exception handler.

```
$logger = new Monolog\Logger('web');
$handler = new Jacobemerick\MonologPqp\PqpHandler($console);
$logger->pushHandler($handler);

Monolog\ErrorHandler::register($logger);
throw new Exception('testing');
```

This will trigger the `logError` method in the profiler and display additional data about the problem.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

3771d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a4eb553ed7677c6aa2c5adb9d20191557e64369c14a9d4b2371c924c4517dff?d=identicon)[jacobemerick](/maintainers/jacobemerick)

---

Top Contributors

[![jacobemerick](https://avatars.githubusercontent.com/u/527814?v=4)](https://github.com/jacobemerick "jacobemerick (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jacobemerick-monolog-pqp/health.svg)

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

###  Alternatives

[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.7k5](/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)
