PHPackages                             filisko/tracy-redbean - 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. filisko/tracy-redbean

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

filisko/tracy-redbean
=====================

RedBeanPHP queries logger panel for Tracy

1.0(9y ago)321MITPHP

Since Aug 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/filisko/tracy-redbean)[ Packagist](https://packagist.org/packages/filisko/tracy-redbean)[ RSS](/packages/filisko-tracy-redbean/feed)WikiDiscussions master Synced 4w ago

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

RedBean queries logger for Tracy
================================

[](#redbean-queries-logger-for-tracy)

Result
------

[](#result)

[![RedBeanPHP queries logger for Tracy](https://camo.githubusercontent.com/022a537a4b5f501d205b203207cef2f7e23d58ad4a737c6448cfc3704ac34ddd/68747470733a2f2f692e736e61672e67792f54354f6b31522e6a7067 "RedBeanPHP queries logger for Tracy")](https://camo.githubusercontent.com/022a537a4b5f501d205b203207cef2f7e23d58ad4a737c6448cfc3704ac34ddd/68747470733a2f2f692e736e61672e67792f54354f6b31522e6a7067)

Installation and configuration
------------------------------

[](#installation-and-configuration)

Install it via composer:

`composer require filisko/tracy-redbean`

To make this work you must enable RedBean's debug mode to log your queries. You can simply use RedBean's Facade debug() method.

How to use
----------

[](#how-to-use)

#### Basic example

[](#basic-example)

To use this logger with any application, you could basically do something like that:

```
R::setup('mysql:host=hostname;dbname=db', 'username', 'password');
/*
Possible log modes:
-------------------
0 Log and write to STDOUT classic style (default)
1 Log only, class style
2 Log and write to STDOUT fancy style
3 Log only, fancy style (it works nicely with this one)
*/
R::debug(true, 3);

// ... your queries here ...

// Get RedBean's Logger
$logger = R::getLogger();

// Create new instance of the panel
$panel = new \Filisko\Tracy\RedBeanBarPanel($logger);

// Boot the panel (collect and show the panel)
\Filisko\Tracy\RedBeanBarPanel::boot($panel);
```

#### Middleware example

[](#middleware-example)

If you are using some framework that works with PSR-7, you could use the logger like that:

```
// Get RedBean's Logger
$logger = R::getLogger();

// Create new instance of the panel
$panel = new \Filisko\Tracy\RedBeanBarPanel($logger);

// Add to middleware
$app->add(new \Filisko\Tracy\RedBeanBarPanelMiddleware($panel));
```

#### Extras

[](#extras)

If you realized that RedBean puts at the end of your SQL queries something like '--keep-cache' for internal caching purposes and you want to hide this part from the logger, you could simply use a static flag to disable it:

```
\Filisko\Tracy\RedBeanBarPanel::$showKeepCache = false; // That's all!
```

If you would like to change the little icon of the panel or the title, use the provided static variables:

```
\Filisko\Tracy\RedBeanBarPanel::$icon = 'src/path/icon.png';
\Filisko\Tracy\RedBeanBarPanel::$title = 'RedBean query logger';
```

You can have a look to RedBean's website [debugging page](http://www.redbeanphp.com/index.php?p=/debugging) to understand a little bit better the examples.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3594d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42e0d72f42eb7d84f67e20d28606da42e5a3248ca908b1eadb4366aafeae2561?d=identicon)[filisko](/maintainers/filisko)

---

Top Contributors

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

---

Tags

loggerredbeantracypanel

### Embed Badge

![Health badge](/badges/filisko-tracy-redbean/health.svg)

```
[![Health](https://phpackages.com/badges/filisko-tracy-redbean/health.svg)](https://phpackages.com/packages/filisko-tracy-redbean)
```

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3511.6M24](/packages/analog-analog)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1861.5M3](/packages/justbetter-magento2-sentry)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

2101.2M2](/packages/marvinlabs-laravel-discord-logger)[inpsyde/wonolog

Monolog-based logging package for WordPress.

184631.3k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.8M78](/packages/amphp-log)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.1M20](/packages/apix-log)

PHPackages © 2026

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