PHPackages                             hlavacm/wp-tracy - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. hlavacm/wp-tracy

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

hlavacm/wp-tracy
================

(Nette) Tracy connector for WordPress

v2.0.0(7y ago)272.5k7[5 issues](https://github.com/hlavacm/WP-Tracy/issues)BSD-3-ClausePHPPHP &gt;=5.4.4

Since Oct 11Pushed 7y ago2 watchersCompare

[ Source](https://github.com/hlavacm/WP-Tracy)[ Packagist](https://packagist.org/packages/hlavacm/wp-tracy)[ Docs](https://github.com/hlavacm/wp-tracy)[ RSS](/packages/hlavacm-wp-tracy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

WP Tracy
========

[](#wp-tracy)

[Tracy](https://github.com/nette/tracy) is an excellent PHP debugger bar from [Nette](https://nette.org) PHP framework.

WP Tracy is port to [WordPress](https://wordpress.org) for test environment.

When it's activated, it automatically shows Tracy bar and displays within global WP constants and their values.

Installation &amp; Configuration
--------------------------------

[](#installation--configuration)

1. Use command on your path: `composer require hlavacm/wp-tracy`
2. Profit!
3. You can optionally define custom PHP constants in the code, but they must be defined in the action `init` with priority 1.
    - WP\_TRACY\_ADMIN\_DISABLED - `true`
    - WP\_TRACY\_CHECK\_IS\_USER\_LOGGED\_IN - `on`/`off`
    - WP\_TRACY\_ONLY\_FOR\_USER\_ID - `some (existing) user ID (as a number)`
    - WP\_TRACY\_ENABLE\_MODE - `detect`/`development`/`production`
    - WP\_TRACY\_PANELS\_FILTERING\_ALLOWED - `on`/`off`
4. You can optionally define custom options `wp-tracy-user-settings` as serialized array of keys and values:
    - `check-is-user-logged-in` =&gt; `on`/`off`
    - `only-for-user-id` =&gt; some (existing) user ID (as number)
    - `debugger-mode` =&gt; `detect`/`development`/`production`
    - `panels-filtering-allowed` =&gt; `on`/`off`
5. You can optionally use `wp_tracy_panels_filter` to modify default panels array (full class names)
6. The following panels are visible by default (if they are available):
    - `WpTracy\\WpPanel`
    - `WpTracy\\WpUserPanel`
    - `WpTracy\\WpPostPanel`
    - `WpTracy\\WpQueryPanel`
    - `WpTracy\\WpQueriedObjectPanel`
    - `WpTracy\\WpDbPanel`
    - `WpTracy\\WpRolesPanel`
    - `WpTracy\\WpRewritePanel`
    - `WpTracy\\WpCurrentScreenPanel`

[![WP Tracy](https://camo.githubusercontent.com/995510ac332c8058beaf8ca85efa56a2e7b5fe8d8a6cf3475a539ee66a8c1a31/68747470733a2f2f686c617661636d2e6769746875622e696f2f696d616765732f77702d74726163792e706e67 "Tracy bar auto-display after plugin activation")](https://camo.githubusercontent.com/995510ac332c8058beaf8ca85efa56a2e7b5fe8d8a6cf3475a539ee66a8c1a31/68747470733a2f2f686c617661636d2e6769746875622e696f2f696d616765732f77702d74726163792e706e67)[![WP Tracy exception](https://camo.githubusercontent.com/c3479f35d28e334bfecfeefa19c40dda77292e44eacc9958b8c4348aa61a8a70/68747470733a2f2f686c617661636d2e6769746875622e696f2f696d616765732f77702d74726163792d657863657074696f6e2e706e67 "Tracy exception dialog when is occured")](https://camo.githubusercontent.com/c3479f35d28e334bfecfeefa19c40dda77292e44eacc9958b8c4348aa61a8a70/68747470733a2f2f686c617661636d2e6769746875622e696f2f696d616765732f77702d74726163792d657863657074696f6e2e706e67)

---

Copyright © [Martin Hlaváč](https://www.hlavacm.net) 2015-2018

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

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

Every ~178 days

Recently: every ~248 days

Total

7

Last Release

2799d ago

Major Versions

v1.0.5 → v2.0.02018-09-18

PHP version history (2 changes)v1.0PHP &gt;=5.4.0

v1.0.4PHP &gt;=5.4.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/9334d966dd8353fdefe13ddc01fb3b1b070742932ecec91ac7fd0215133847f1?d=identicon)[hlavacm](/maintainers/hlavacm)

---

Top Contributors

[![hlavacm](https://avatars.githubusercontent.com/u/313014?v=4)](https://github.com/hlavacm "hlavacm (12 commits)")

---

Tags

wordpressdebuggertracy

### Embed Badge

![Health badge](/badges/hlavacm-wp-tracy/health.svg)

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

###  Alternatives

[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)[vasek-purchart/tracy-blue-screen-bundle

This bundle lets you use the Tracy's debug screen in combination with the the default profiler in your Symfony application.

1177.6k](/packages/vasek-purchart-tracy-blue-screen-bundle)[milo/vendor-versions

Bar with versions list of vendor libraries for Tracy

19155.1k5](/packages/milo-vendor-versions)

PHPackages © 2026

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