PHPackages                             tumtum/oxid-sql-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. tumtum/oxid-sql-logger

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

tumtum/oxid-sql-logger
======================

Returns all SQL queries in the browser.

1.2.0(4y ago)11.1k1GPL-3.0PHPCI failing

Since Aug 21Pushed 4y ago2 watchersCompare

[ Source](https://github.com/TumTum/oxid-sql-logger)[ Packagist](https://packagist.org/packages/tumtum/oxid-sql-logger)[ RSS](/packages/tumtum-oxid-sql-logger/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Oxid eShop SQL Logger
---------------------

[](#oxid-eshop-sql-logger)

[![Build Status](https://camo.githubusercontent.com/b09801c98765b97ab840aa347e6e3332bb99844cfa2563892fc825e67bfd9e37/68747470733a2f2f7472617669732d63692e6f72672f54756d54756d2f6f7869642d73716c2d6c6f676765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/TumTum/oxid-sql-logger)

Returns all SQL queries into console of a Browser.

Install
-------

[](#install)

`composer require --dev tumtum/oxid-sql-logger`

Usage
-----

[](#usage)

Just set the function `StartSQLLog()` somewhere and from that point on all SQLs will be logged.

```
\StartSQLLog();

$db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb(\OxidEsales\Eshop\Core\DatabaseProvider::FETCH_MODE_ASSOC);
$list = $db->getAll('SELECT * FROM oxarticles WHERE oxprice < ? LIMIT 100', [49.99]);

\StopSQLLog();
```

Screenshots
-----------

[](#screenshots)

Browser:

[![Example only one range](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/screenshot-b.png)](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/screenshot-b.png)

CLI:

[![Example CLI](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/screenshot-cli.png)](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/screenshot-cli.png)

SQL Query Status Monitor
------------------------

[](#sql-query-status-monitor)

[![Example CLI](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/sql-query-status-monitor.jpg)](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/sql-query-status-monitor.jpg)

See how many queries and which types of queries have been added to the database. To determine the amount.

#### Switch on

[](#switch-on)

For this purpose, the parameter `$this->blSQLStatusBox = true;` must be stored in the file `config.ing.php`. So you can turn it on and off temporarily.

Unique: Insert, at the end, the Smarty tag: `[{tm_sql_status}]` in the `base.tpl` file.

\####### source/Application/views/flow/tpl/layout/base.tpl

```
        [{tm_sql_status}]

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~379 days

Total

3

Last Release

1700d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/08ef539c93c95c0ccb3c36d51c8cc86a6276e8e5a8fb3fadd983843b013dbba3?d=identicon)[TumTum](/maintainers/TumTum)

---

Top Contributors

[![TumTum](https://avatars.githubusercontent.com/u/225997?v=4)](https://github.com/TumTum "TumTum (19 commits)")[![tmloberon](https://avatars.githubusercontent.com/u/28302826?v=4)](https://github.com/tmloberon "tmloberon (1 commits)")

### Embed Badge

![Health badge](/badges/tumtum-oxid-sql-logger/health.svg)

```
[![Health](https://phpackages.com/badges/tumtum-oxid-sql-logger/health.svg)](https://phpackages.com/packages/tumtum-oxid-sql-logger)
```

###  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)
