PHPackages                             mosaxiv/cakephp-format-query-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. mosaxiv/cakephp-format-query-logger

ActiveCakephp-plugin[Logging &amp; Monitoring](/categories/logging)

mosaxiv/cakephp-format-query-logger
===================================

FormatQueryLogger plugin for CakePHP

0.0.2(7y ago)1126MITPHP

Since Oct 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mosaxiv/cakephp-format-query-logger)[ Packagist](https://packagist.org/packages/mosaxiv/cakephp-format-query-logger)[ RSS](/packages/mosaxiv-cakephp-format-query-logger/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

FormatQueryLogger plugin for CakePHP
====================================

[](#formatquerylogger-plugin-for-cakephp)

Format the query log.

😨
=

[](#fearful)

 [![](https://raw.githubusercontent.com/mosaxiv/cakephp-format-query-logger/master/image2.png)](https://raw.githubusercontent.com/mosaxiv/cakephp-format-query-logger/master/image2.png)

😄
=

[](#smile)

 [![](https://raw.githubusercontent.com/mosaxiv/cakephp-format-query-logger/master/image.png)](https://raw.githubusercontent.com/mosaxiv/cakephp-format-query-logger/master/image.png)

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

[](#requirements)

- CakePHP3.5.0+

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

[](#installation)

```
composer require mosaxiv/cakephp-format-query-logger

```

Usage
-----

[](#usage)

### Console Log

[](#console-log)

```
use Cake\Datasource\ConnectionManager;
use mosaxiv\Log\FormatQueryLogger;

$con = ConnectionManager::get('default');
FormatQueryLogger::console($con);
```

### File Log

[](#file-log)

```
use Cake\Datasource\ConnectionManager;
use mosaxiv\Log\FormatQueryLogger;
use Cake\Log\Log;

Log::config('queries', [
    'className' => 'File',
    'path' => LOGS,
    'file' => 'queries.log',
    'scopes' => ['queriesLog']
]);
$con = ConnectionManager::get('default');
FormatQueryLogger::new($con);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2

Last Release

2770d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8197ca45b63937ac7fbe3fee0349baa186c553693430a7089f12825edba02204?d=identicon)[mosaxiv](/maintainers/mosaxiv)

---

Top Contributors

[![mosaxiv](https://avatars.githubusercontent.com/u/28671296?v=4)](https://github.com/mosaxiv "mosaxiv (16 commits)")

---

Tags

cakephp-plugincakephp3

### Embed Badge

![Health badge](/badges/mosaxiv-cakephp-format-query-logger/health.svg)

```
[![Health](https://phpackages.com/badges/mosaxiv-cakephp-format-query-logger/health.svg)](https://phpackages.com/packages/mosaxiv-cakephp-format-query-logger)
```

###  Alternatives

[bdk/debug

Browser/javascript like console class for PHP

819.0k1](/packages/bdk-debug)[lordsimal/cakephp-sentry

Sentry plugin for CakePHP

12270.3k](/packages/lordsimal-cakephp-sentry)[ecocode/magento_profiler

Web Profiler for Magento 1.x

627.3k](/packages/ecocode-magento-profiler)

PHPackages © 2026

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