Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.

Commit

Permalink
add laravel tracy for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
forehalo committed Dec 14, 2016
1 parent 4cd761e commit 4715fdd
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 4 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
"erusev/parsedown": "^1.6"
"erusev/parsedown": "^1.6",
"recca0120/laravel-tracy": "^1.7"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
Expand Down
186 changes: 184 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
/*
* Package Service Providers...
*/

Recca0120\LaravelTracy\LaravelTracyServiceProvider::class,
//

/*
Expand Down
27 changes: 27 additions & 0 deletions config/tracy.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

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

0 comments on commit 4715fdd

Please sign in to comment.