PHPackages                             kutny/tracy-bundle - 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. kutny/tracy-bundle

AbandonedArchivedSymfony-bundle[Debugging &amp; Profiling](/categories/debugging)

kutny/tracy-bundle
==================

Nette Tracy debugger for Symfony

1.11(8y ago)28104.5k↓100%5[1 PRs](https://github.com/kutny/tracy-bundle/pulls)MITPHPPHP &gt;=5.3.2

Since Jun 10Pushed 8y ago6 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (17)Used By (0)

Tracy PHP debugger bundle for Symfony
=====================================

[](#tracy-php-debugger-bundle-for-symfony)

This bundle adds the powerful [Tracy debug tool](https://github.com/nette/tracy) to the Symfony2 framework.

[![Nette Tracy screenshot](https://camo.githubusercontent.com/089c6cc168a485370ecec94b1d22217e43d00303736bf763cccd743e6239e8e7/687474703a2f2f6e657474652e6769746875622e696f2f74726163792f696d616765732f74726163792d657863657074696f6e2e706e67)](http://nette.github.io/tracy/tracy-exception.html)

**Why is Tracy better than the Symfony build-in debugger?**

- Exception stack trace contains values of all method arguments.
- Request &amp; Response &amp; Server environment information is displayed on the error page.
- The whole error page with full stack trace can be easily stored to some directory as HTML file (useful on production mode).
- Webmaster can be notified by email about errors that occured on the site.

See [full Tracy docs](https://github.com/nette/tracy) and [sample error page](http://nette.github.io/tracy/tracy-exception.html).

Tracy is a part of the [Nette Framework](http://nette.org/).

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

[](#installation)

1. Install via composer:

```
composer require kutny/tracy-bundle
```

2. Add KutnyTracyBundle to your application kernel. For This bundle to catch as many errors as possible it should be the first bundle in the bundles array.

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        new Kutny\TracyBundle\KutnyTracyBundle(),
        // ...
    );
}
```

Configuration
-------------

[](#configuration)

**1) app.php / app\_dev.php**

Open *web/app.php* and *web/app\_dev.php* files and add the following code **before** the *AppKernel* class is instantiated:

```
\Tracy\Debugger::enable();
```

Or force the **production mode** where only [general server error page](http://nette.github.io/tracy/images/tracy-error2.png) will be displayed to the user ([read more](https://github.com/nette/tracy#production-mode-and-error-logging)):

```
\Tracy\Debugger::enable(\Tracy\Debugger::PRODUCTION);
```

I also recommend you to enable Tracy in a strict mode so it can handle errors of type E\_NOTICE and E\_WARNING too.

```
\Tracy\Debugger::$strictMode = true;
```

**2) config.yml**

```
kutny_tracy:
    emails: ['errors@mycompany.com'] # error notification recipients
    exceptions_directory:  # optional, default directory set to %kernel.logs_dir%/exceptions
    store_username_in_server_variable: true|false # optional, default value = false; stores username of logged user in $_SERVER['SYMFONY_USERNAME'] - helps you to find out which user encountered the error
    ignored_exceptions:
        - Symfony\Component\HttpKernel\Exception\BadRequestHttpException
        - RuntimeException
        - UnexpectedValueException
```

---

License
=======

[](#license)

This bundle license:

Tracy debugger license:

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 82.8% 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 ~113 days

Recently: every ~199 days

Total

16

Last Release

3020d ago

Major Versions

v0.9.0 → 1.02014-02-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/09acfd47f0d7fe8333d2ec14d5ca51259d5925c8b29936ef3c1697272d804fba?d=identicon)[kutny](/maintainers/kutny)

---

Top Contributors

[![kutny](https://avatars.githubusercontent.com/u/729373?v=4)](https://github.com/kutny "kutny (24 commits)")[![mvrhov](https://avatars.githubusercontent.com/u/450008?v=4)](https://github.com/mvrhov "mvrhov (4 commits)")[![insekticid](https://avatars.githubusercontent.com/u/177340?v=4)](https://github.com/insekticid "insekticid (1 commits)")

---

Tags

debugnettedebugging

### Embed Badge

![Health badge](/badges/kutny-tracy-bundle/health.svg)

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

###  Alternatives

[tracy/tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k24.4M1.3k](/packages/tracy-tracy)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)[spatie/global-ray

Enable Ray in all PHP files on your system

21863.0k1](/packages/spatie-global-ray)[mmucklo/krumo

KRUMO - version 2.0 of print\_r(); and var\_dump(); (with new updates)

89168.0k6](/packages/mmucklo-krumo)[xrdebug/php

PHP client library for xrDebug

23920.3k2](/packages/xrdebug-php)[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

211.1M3](/packages/jbzoo-jbdump)

PHPackages © 2026

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