PHPackages                             recca0120/laravel-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. recca0120/laravel-tracy

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

recca0120/laravel-tracy
=======================

A Laravel Package to integrate Nette Tracy Debugger

v1.16.0(3y ago)388284.8k↓29.7%43[4 issues](https://github.com/recca0120/laravel-tracy/issues)3MITPHPPHP &gt;=5.5.9CI failing

Since Sep 10Pushed 3y ago9 watchersCompare

[ Source](https://github.com/recca0120/laravel-tracy)[ Packagist](https://packagist.org/packages/recca0120/laravel-tracy)[ RSS](/packages/recca0120-laravel-tracy/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (12)Versions (95)Used By (3)

[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YNNLC9V28YDPN)

[Nette Tracy](https://github.com/nette/tracy.git) for Laravel 5
---------------------------------------------------------------

[](#nette-tracy-for-laravel-5)

Better Laravel Exception Handler

[![StyleCI](https://camo.githubusercontent.com/6f855efd161464d938156467b919c4b79f901bf535dedb6762638a70089eb9d2/68747470733a2f2f7374796c6563692e696f2f7265706f732f34303636313530332f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/40661503)[![Build Status](https://camo.githubusercontent.com/fc5cfc50d7fb64b97e76aafc547a02184c0c3ce4259b7e1dd58cab27d24f11ce/68747470733a2f2f7472617669732d63692e6f72672f7265636361303132302f6c61726176656c2d74726163792e737667)](https://travis-ci.org/recca0120/laravel-tracy)[![Total Downloads](https://camo.githubusercontent.com/4c8e22cb27cc2a3141c6a769390e345010345ad8c539478d88093a567af7d0d7/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d74726163792f642f746f74616c2e737667)](https://packagist.org/packages/recca0120/laravel-tracy)[![Latest Stable Version](https://camo.githubusercontent.com/531272cd8b42ac9cf29a8427877410b7301ce0be2869ee4541821199ff8ff622/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d74726163792f762f737461626c652e737667)](https://packagist.org/packages/recca0120/laravel-tracy)[![Latest Unstable Version](https://camo.githubusercontent.com/493a4de5d9a547abeacc37aa221983686abd4dd14aa99136e2896071324e76fb/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d74726163792f762f756e737461626c652e737667)](https://packagist.org/packages/recca0120/laravel-tracy)[![License](https://camo.githubusercontent.com/adcc0b3efa688cf8adcc9b987a53569039f453f8479482039c4d302241b53a4d/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d74726163792f6c6963656e73652e737667)](https://packagist.org/packages/recca0120/laravel-tracy)[![Monthly Downloads](https://camo.githubusercontent.com/5e94a8249e17b8ae1eb5ac9f9b4cc6edd3c91c89599d9d487425544adc883f26/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d74726163792f642f6d6f6e74686c79)](https://packagist.org/packages/recca0120/laravel-tracy)[![Daily Downloads](https://camo.githubusercontent.com/7981f5f7f2dc6b84f913a1263ab1e6c82beeb255a17554f5dccd32bdf1c8cbde/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f6c61726176656c2d74726163792f642f6461696c79)](https://packagist.org/packages/recca0120/laravel-tracy)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fb8bb760518d79147d67d87c046221d261fb4b8b14421bbe8b596370fda86ebf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7265636361303132302f6c61726176656c2d74726163792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/recca0120/laravel-tracy/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/21c2c49404be922ef0534a0f3956881902f3ffbf3353fe6d96c8c191f4524bc7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7265636361303132302f6c61726176656c2d74726163792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/recca0120/laravel-tracy/?branch=master)

[![Laravel Tracy](https://user-images.githubusercontent.com/1390554/27463755-382577ac-57fc-11e7-87e5-80eb39db0683.png)](https://user-images.githubusercontent.com/1390554/27463755-382577ac-57fc-11e7-87e5-80eb39db0683.png)

Features
--------

[](#features)

- Visualization of errors and exceptions
- Debugger Bar (ajax support @v1.5.6)
- Exception stack trace contains values of all method arguments.

Online Demo
-----------

[](#online-demo)

[Demo](https://cdn.rawgit.com/recca0120/laravel-tracy/master/docs/tracy-exception.html)

Installing
----------

[](#installing)

To get the latest version of Laravel Exceptions, simply require the project using [Composer](https://getcomposer.org):

```
composer require recca0120/laravel-tracy --dev
```

Instead, you may of course manually update your require block and run `composer update` if you so choose:

```
{
    "require-dev": {
        "recca0120/laravel-tracy": "^1.8.14"
    }
}
```

Include the service provider within `config/app.php`. The service povider is needed for the generator artisan command.

```
'providers' => [
    ...
    Recca0120\LaravelTracy\LaravelTracyServiceProvider::class,
    ...
];
```

publish

```
php artisan vendor:publish --provider="Recca0120\LaravelTracy\LaravelTracyServiceProvider"
```

if you see Route \[tracy.bar\] not defined. pleace run `artisan route:clear` once

```
artisan route:clear
```

Config
------

[](#config)

```
return [
    'enabled' => env('APP_DEBUG') === true,
    'showBar' => env('APP_ENV') !== 'production',
    'accepts'      => [
        'text/html',
    ],
    // appendTo: body | html
    'appendTo' => 'body',
    'editor' => 'subl://open?url=file://%file&line=%line',
    'maxDepth' => 4,
    'maxLength' => 1000,
    'scream' => true,
    'showLocation' => true,
    'strictMode' => true,
    'panels' => [
        'routing' => true,
        'database' => true,
        'model' => true,
        'view' => true,
        'event' => false,
        'session' => true,
        'request' => true,
        'auth' => true,
        'html-validator' => true,
        'terminal' => true,
    ],
];
```

### Editor Link

[](#editor-link)

windows

```
copy /recca0120/laravel-tracy/tools/subl-handler/subl-handler.vbs to any directory where you want to place

double click subl-handler.vbs and select editor (support eclipse, sublime, notepad++, else...)

```

If you use Vagrant and have issues with the incorrect path being called, you can create a symlink as illustrated at:

OSX

```
https://github.com/dhoulb/subl

```

Prefer PhpStorm, you can edit `config/tracy.php`'s key of `editor` like this:

```
'editor' => 'phpstorm://open?file=%file&line=%line',
```

Debugger Bar
------------

[](#debugger-bar)

### Directive bdump

[](#directive-bdump)

[![Ajax](https://camo.githubusercontent.com/50466cb0acc4f8aaa94100ff0ab2c3c9f9318bfc047850e228f0dba1deffab00/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f6264756d702e706e67)](https://camo.githubusercontent.com/50466cb0acc4f8aaa94100ff0ab2c3c9f9318bfc047850e228f0dba1deffab00/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f6264756d702e706e67)

### Ajax Debugger Bar

[](#ajax-debugger-bar)

[![Ajax](https://camo.githubusercontent.com/9f50901f51237bcddead3ff46d890ebcdee660d0f7428ef7979b4f0cf0220e98/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f616a61782e706e67)](https://camo.githubusercontent.com/9f50901f51237bcddead3ff46d890ebcdee660d0f7428ef7979b4f0cf0220e98/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f616a61782e706e67)

### SystemInfo

[](#systeminfo)

[![SystemInfo](https://camo.githubusercontent.com/146c37e544e78267e61ada52e1d25f01b65ccd6a2984526bff0dceb897e45dc2/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f73797374656d696e666f2e706e67)](https://camo.githubusercontent.com/146c37e544e78267e61ada52e1d25f01b65ccd6a2984526bff0dceb897e45dc2/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f73797374656d696e666f2e706e67)

### Route

[](#route)

[![Route](https://camo.githubusercontent.com/59e4ff6e9e3d2467f1d4d47b3cd4718371f0e6cbc89ed4e3072778c3deb09e61/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f726f7574652e706e67)](https://camo.githubusercontent.com/59e4ff6e9e3d2467f1d4d47b3cd4718371f0e6cbc89ed4e3072778c3deb09e61/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f726f7574652e706e67)

### View

[](#view)

[![View](https://camo.githubusercontent.com/dc0584f88312d1bfa403b87ddd4ef1fc75e634697d14cd38a2385fcb3d1123ba/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f766965772e706e67)](https://camo.githubusercontent.com/dc0584f88312d1bfa403b87ddd4ef1fc75e634697d14cd38a2385fcb3d1123ba/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f766965772e706e67)

### Session

[](#session)

[![Session](https://camo.githubusercontent.com/da60cf481c5a97142870307f46c9993272adac72b9244ac347ed63fa435825a0/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f73657373696f6e2e706e67)](https://camo.githubusercontent.com/da60cf481c5a97142870307f46c9993272adac72b9244ac347ed63fa435825a0/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f73657373696f6e2e706e67)

### Request

[](#request)

[![Request](https://camo.githubusercontent.com/1fc9cf398207012cb9163ef0c66e980c909049ab606f01321427abe74665a232/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f726571756573742e706e67)](https://camo.githubusercontent.com/1fc9cf398207012cb9163ef0c66e980c909049ab606f01321427abe74665a232/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f726571756573742e706e67)

### Auth

[](#auth)

[![Auth](https://camo.githubusercontent.com/3e4a56b9cca2f783a65fc8413f6aef7d80c3bd30f9e64cbe3360e63830f1cc71/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f6c6f67696e2e706e67)](https://camo.githubusercontent.com/3e4a56b9cca2f783a65fc8413f6aef7d80c3bd30f9e64cbe3360e63830f1cc71/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f6c6f67696e2e706e67)

#### Custom Auth

[](#custom-auth)

```
// app/Providers/AppServiceProvider.php

namespace App\Providers;

use Recca0120\LaravelTracy\BarManager;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    public function boot(BarManager $barManager)
    {
        $barManager->get('auth')->setUserResolver(function() {
            return [
                'id' => 'xxx',
                'username' => 'xxx',
                ...
            ];
        });
    }
}

```

### Html Validator

[](#html-validator)

[![Html Validator](https://camo.githubusercontent.com/6aafdbe5920a8c1bb679a3ada614d34e6e147563241058a9b2447a8b32d85859/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f68746d6c2d76616c696461746f722e706e67)](https://camo.githubusercontent.com/6aafdbe5920a8c1bb679a3ada614d34e6e147563241058a9b2447a8b32d85859/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f68746d6c2d76616c696461746f722e706e67)

### Web Artisan

[](#web-artisan)

web artisan is another package [recca0120/terminal](https://github.com/recca0120/laravel-terminal)[![Terminal](https://camo.githubusercontent.com/6c288524ca5797c99ee4049a087229eeaa6e45b9dff903d388be403a19f2b4b3/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f7465726d696e616c2e706e67)](https://camo.githubusercontent.com/6c288524ca5797c99ee4049a087229eeaa6e45b9dff903d388be403a19f2b4b3/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f7465726d696e616c2e706e67)

#### notice

[](#notice)

if you install terminal before, this panel will throw errors, please remove folder `app/resources/views/vendor/terminal`

STANDALONE
----------

[](#standalone)

```
require __DIR__.'/../vendor/autoload.php';

use Recca0120\LaravelTracy\Tracy;

// before outout
$tracy = Tracy::instance();

$authPanel = $tracy->getPanel('auth');
$authPanel->setUserResolver(function() {
    return [
        'email' => 'recca0120@gmail.com'
    ];
});

function sql($sql)
{
    $tracy = Tracy::instance();
    $databasePanel = $tracy->getPanel('database');
    $databasePanel->logQuery($sql);
}

sql('select * from users');
sql('select * from news');
sql('select * from products');
```

[![Standalone](https://camo.githubusercontent.com/c362191218c60950c8207cb7360a88c5ae15c4cacad72b994e87757bff48d8ce/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f7374616e64616c6f6e652e706e67)](https://camo.githubusercontent.com/c362191218c60950c8207cb7360a88c5ae15c4cacad72b994e87757bff48d8ce/68747470733a2f2f63646e2e7261776769742e636f6d2f7265636361303132302f6c61726176656c2d74726163792f6d61737465722f646f63732f73637265656e73686f74732f7374616e64616c6f6e652e706e67)

Thanks
------

[](#thanks)

- [Laravel PHP Framework](https://github.com/laravel/laravel)
- [Tracy](https://github.com/nette/tracy)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity53

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 95.9% 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 ~30 days

Recently: every ~108 days

Total

91

Last Release

1236d ago

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

v1.1.0PHP &gt;=5.5.9

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1390554?v=4)[Recca Tsai](/maintainers/recca0120)[@recca0120](https://github.com/recca0120)

---

Top Contributors

[![recca0120](https://avatars.githubusercontent.com/u/1390554?v=4)](https://github.com/recca0120 "recca0120 (142 commits)")[![zhichao-poper](https://avatars.githubusercontent.com/u/141097055?v=4)](https://github.com/zhichao-poper "zhichao-poper (2 commits)")[![duxthefux](https://avatars.githubusercontent.com/u/6758162?v=4)](https://github.com/duxthefux "duxthefux (1 commits)")[![ichi](https://avatars.githubusercontent.com/u/107826?v=4)](https://github.com/ichi "ichi (1 commits)")[![jrbarnard](https://avatars.githubusercontent.com/u/6758366?v=4)](https://github.com/jrbarnard "jrbarnard (1 commits)")[![storyn26383](https://avatars.githubusercontent.com/u/6954098?v=4)](https://github.com/storyn26383 "storyn26383 (1 commits)")

---

Tags

debuggerlaravellaravel-tracynette-tracyphptracylaraveldebugprofilerdebugbarwebprofilernetteerrorerror-handlertracy

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/recca0120-laravel-tracy/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k133.0M763](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k2.3M66](/packages/fruitcake-laravel-debugbar)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k30.0M148](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)

PHPackages © 2026

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