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 2w 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

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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

2815d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28671296?v=4)[mosa](/maintainers/mosaxiv)[@mosaxiv](https://github.com/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

[cakephp/bake

Bake plugin for CakePHP

11211.7M190](/packages/cakephp-bake)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308914.0k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M40](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131237.3k13](/packages/dereuromark-cakephp-tinyauth)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

35184.7k2](/packages/dereuromark-cakephp-setup)

PHPackages © 2026

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