2017 © Pedro Peláez
 

library laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

image

recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

  • Monday, July 9, 2018
  • by recca0120
  • Repository
  • 12 Watchers
  • 314 Stars
  • 75,515 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 34 Forks
  • 3 Open issues
  • 78 Versions
  • 7 % Grown

The README.md

Donate, (*1)

Nette Tracy for Laravel 5

Better Laravel Exception Handler, (*2)

StyleCI Build Status Total Downloads Latest Stable Version Latest Unstable Version License Monthly Downloads Daily Downloads Scrutinizer Code Quality Code Coverage, (*3)

Laravel Tracy, (*4)

Features

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

Online Demo

Demo, (*5)

Installing

To get the latest version of Laravel Exceptions, simply require the project using Composer:, (*6)

composer require recca0120/laravel-tracy --dev

Instead, you may of course manually update your require block and run composer update if you so choose:, (*7)

{
    "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., (*8)

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

publish, (*9)

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

if you see Route [tracy.bar] not defined. pleace run artisan route:clear once, (*10)

artisan route:clear

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,
    ],
];

windows, (*11)

copy <vendor path>/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: https://prnt.sc/lpswki, (*12)

OSX, (*13)

https://github.com/dhoulb/subl

Prefer PhpStorm, you can edit config/tracy.php's key of editor like this:, (*14)

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

Debugger Bar

Directive bdump

Ajax, (*15)

Ajax Debugger Bar

Ajax, (*16)

SystemInfo

SystemInfo, (*17)

Route

Route, (*18)

View

View, (*19)

Session

Session, (*20)

Request

Request, (*21)

Auth

Auth, (*22)

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, (*23)

Web Artisan

web artisan is another package recca0120/terminal Terminal, (*24)

notice

if you install terminal before, this panel will throw errors, please remove folder app/resources/views/vendor/terminal, (*25)

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, (*26)

Thanks

The Versions

09/07 2018

dev-master

9999999-dev

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

03/07 2018

v1.8.18

1.8.18.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

26/03 2018

v1.8.17

1.8.17.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

14/03 2018

v1.8.16

1.8.16.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

09/02 2018

v1.8.15

1.8.15.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

05/11 2017

v1.8.14

1.8.14.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

03/11 2017

v1.8.13

1.8.13.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

03/11 2017

v1.8.12

1.8.12.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

18/08 2017

v1.8.11

1.8.11.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

19/07 2017

v1.8.10

1.8.10.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

19/06 2017

v1.8.9

1.8.9.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

19/06 2017

v1.8.8

1.8.8.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

19/06 2017

v1.8.7

1.8.7.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

16/06 2017

v1.8.6

1.8.6.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

08/03 2017

v1.8.5

1.8.5.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

08/03 2017

dev-session-compress

dev-session-compress

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

06/03 2017

v1.8.4

1.8.4.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

06/03 2017

v1.8.3

1.8.3.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

05/03 2017

v1.8.2

1.8.2.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

01/03 2017

v1.8.1

1.8.1.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

27/02 2017

v1.8.0

1.8.0.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

06/02 2017

v1.7.17

1.7.17.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

25/01 2017

v1.7.16

1.7.16.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

13/12 2016

v1.7.15

1.7.15.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

13/12 2016

v1.7.14

1.7.14.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

13/12 2016

v1.7.13

1.7.13.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

11/12 2016

v1.7.12

1.7.12.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

25/11 2016

v1.7.11

1.7.11.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

23/10 2016

v1.7.10

1.7.10.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

23/10 2016

v1.7.9

1.7.9.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

01/10 2016

v1.7.8

1.7.8.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

28/09 2016

v1.7.7

1.7.7.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

24/09 2016

dev-laravel50

dev-laravel50

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

17/09 2016

v1.7.5

1.7.5.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

16/09 2016

v1.7.4

1.7.4.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

13/09 2016

v1.3.9

1.3.9.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

05/09 2016

v1.7.3

1.7.3.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

30/08 2016

v1.7.2

1.7.2.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

29/08 2016

v1.7.1

1.7.1.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

25/08 2016

v1.7.0

1.7.0.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

18/08 2016

v1.6.8

1.6.8.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

18/08 2016

v1.6.7

1.6.7.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

18/08 2016

v1.6.6

1.6.6.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

17/08 2016

v1.6.5

1.6.5.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

07/08 2016

dev-develop

dev-develop

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

07/08 2016

v1.6.1

1.6.1.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

06/08 2016

v1.6.0

1.6.0.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

23/07 2016

v1.5.9

1.5.9.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

12/07 2016

v1.5.8

1.5.8.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

08/07 2016

v1.5.7

1.5.7.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

04/07 2016

v1.5.6

1.5.6.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

29/06 2016

v1.5.4

1.5.4.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

20/06 2016

v1.5.2

1.5.2.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

19/06 2016

v1.5.0

1.5.0.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

19/06 2016

1.4.x-dev

1.4.9999999.9999999-dev

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

19/06 2016

v1.4.4.3

1.4.4.3

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

06/06 2016

v1.4.4.2

1.4.4.2

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

27/04 2016

v1.4.4.1

1.4.4.1

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

05/04 2016

v1.4.4

1.4.4.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

27/02 2016

v1.4.3

1.4.3.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

27/02 2016

v1.4.2

1.4.2.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

23/02 2016

v1.4.1

1.4.1.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

18/02 2016

1.3.x-dev

1.3.9999999.9999999-dev

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

18/02 2016

v1.3.8

1.3.8.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

18/02 2016

v1.4.0

1.4.0.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug error handler nette error profiler debugbar tracy webprofiler

04/02 2016

v1.3.0

1.3.0.0

A Laravel Package to integrate Nette Tracy Debugger

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

31/01 2016

v1.2.5

1.2.5.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

21/01 2016

v1.2.4

1.2.4.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

08/01 2016

v1.1.3

1.1.3.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

06/01 2016

v1.1.2

1.1.2.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

05/01 2016

v1.1.0

1.1.0.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

04/12 2015

v1.0.19

1.0.19.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

05/11 2015

v1.0.15

1.0.15.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

04/11 2015

v1.0.12

1.0.12.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

29/10 2015

v1.0.11

1.0.11.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

26/10 2015

v1.0.10

1.0.10.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

24/10 2015

v1.0.9

1.0.9.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler

10/09 2015

v1.0.6

1.0.6.0

Nette Tracy Debugger for Laravel 5

  Sources   Download

MIT

The Requires

 

by Avatar recca0120

laravel debug nette profiler debugbar tracy webprofiler