Skip to content

Commit

Permalink
fix laravel-debugbar
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrant committed Apr 13, 2018
1 parent baa6934 commit cb478ff
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 61 deletions.
122 changes: 61 additions & 61 deletions config/debugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
|
*/

'enabled' => env('DEBUGBAR_ENABLED', true),
'except' => [
'enabled' => env ( 'DEBUGER_ENABLE' , false ) ,
'except' => [
//
],
] ,

/*
|--------------------------------------------------------------------------
Expand All @@ -32,12 +32,12 @@
|
*/
'storage' => [
'enabled' => true,
'driver' => 'file', // redis, file, pdo, custom
'path' => storage_path('debugbar'), // For file driver
'connection' => null, // Leave null for default connection (Redis/PDO)
'enabled' => true ,
'driver' => 'file' , // redis, file, pdo, custom
'path' => storage_path ( 'debugbar' ) , // For file driver
'connection' => null , // Leave null for default connection (Redis/PDO)
'provider' => '' // Instance of StorageInterface for custom driver
],
] ,

/*
|--------------------------------------------------------------------------
Expand All @@ -53,7 +53,7 @@
|
*/

'include_vendors' => true,
'include_vendors' => true ,

/*
|--------------------------------------------------------------------------
Expand All @@ -66,8 +66,8 @@
| Optionally, you can also send ServerTiming headers on ajax requests for the Chrome DevTools.
*/

'capture_ajax' => true,
'add_ajax_timing' => false,
'capture_ajax' => true ,
'add_ajax_timing' => false ,

/*
|--------------------------------------------------------------------------
Expand All @@ -78,8 +78,8 @@
| in the Messages tab.
|
*/
'error_handler' => false,
'error_handler' => false ,

/*
|--------------------------------------------------------------------------
| Clockwork integration
Expand All @@ -89,7 +89,7 @@
| Extension, without the server-side code. It uses Debugbar collectors instead.
|
*/
'clockwork' => false,
'clockwork' => false ,

/*
|--------------------------------------------------------------------------
Expand All @@ -101,28 +101,28 @@
*/

'collectors' => [
'phpinfo' => true, // Php version
'messages' => true, // Messages
'time' => true, // Time Datalogger
'memory' => true, // Memory usage
'exceptions' => true, // Exception displayer
'log' => true, // Logs from Monolog (merged in messages if enabled)
'db' => true, // Show database (PDO) queries and bindings
'views' => true, // Views with their data
'route' => true, // Current route information
'auth' => true, // Display Laravel authentication status
'gate' => true, // Display Laravel Gate checks
'session' => true, // Display session data
'symfony_request' => true, // Only one can be enabled..
'mail' => true, // Catch mail messages
'laravel' => false, // Laravel version and environment
'events' => false, // All events fired
'default_request' => false, // Regular or special Symfony request logger
'logs' => false, // Add the latest log messages
'files' => false, // Show the included files
'config' => false, // Display config settings
'cache' => false, // Display cache events
],
'phpinfo' => true , // Php version
'messages' => true , // Messages
'time' => true , // Time Datalogger
'memory' => true , // Memory usage
'exceptions' => true , // Exception displayer
'log' => true , // Logs from Monolog (merged in messages if enabled)
'db' => true , // Show database (PDO) queries and bindings
'views' => true , // Views with their data
'route' => true , // Current route information
'auth' => true , // Display Laravel authentication status
'gate' => true , // Display Laravel Gate checks
'session' => true , // Display session data
'symfony_request' => true , // Only one can be enabled..
'mail' => true , // Catch mail messages
'laravel' => false , // Laravel version and environment
'events' => false , // All events fired
'default_request' => false , // Regular or special Symfony request logger
'logs' => false , // Add the latest log messages
'files' => false , // Show the included files
'config' => false , // Display config settings
'cache' => false , // Display cache events
] ,

/*
|--------------------------------------------------------------------------
Expand All @@ -134,35 +134,35 @@
*/

'options' => [
'auth' => [
'show_name' => true, // Also show the users name/email in the debugbar
],
'db' => [
'with_params' => true, // Render SQL with the parameters substituted
'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
'timeline' => false, // Add the queries to the timeline
'explain' => [ // Show EXPLAIN output on queries
'enabled' => false,
'types' => ['SELECT'], // ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+
],
'hints' => true, // Show hints for common mistakes
],
'mail' => [
'auth' => [
'show_name' => true , // Also show the users name/email in the debugbar
] ,
'db' => [
'with_params' => true , // Render SQL with the parameters substituted
'backtrace' => true , // Use a backtrace to find the origin of the query in your files.
'timeline' => false , // Add the queries to the timeline
'explain' => [ // Show EXPLAIN output on queries
'enabled' => false ,
'types' => [ 'SELECT' ] , // ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+
] ,
'hints' => true , // Show hints for common mistakes
] ,
'mail' => [
'full_log' => false
],
] ,
'views' => [
'data' => false, //Note: Can slow down the application, because the data can be quite large..
],
'data' => false , //Note: Can slow down the application, because the data can be quite large..
] ,
'route' => [
'label' => true // show complete route on bar
],
'logs' => [
] ,
'logs' => [
'file' => null
],
] ,
'cache' => [
'values' => true // collect cache values
],
],
] ,
] ,

/*
|--------------------------------------------------------------------------
Expand All @@ -175,7 +175,7 @@
|
*/

'inject' => true,
'inject' => true ,

/*
|--------------------------------------------------------------------------
Expand All @@ -187,7 +187,7 @@
| from trying to overcome bugs like this: http://trac.nginx.org/nginx/ticket/97
|
*/
'route_prefix' => '_debugbar',
'route_prefix' => '_debugbar' ,

/*
|--------------------------------------------------------------------------
Expand All @@ -197,5 +197,5 @@
| By default DebugBar route served from the same domain that request served.
| To override default domain, specify it as a non-empty value.
*/
'route_domain' => null,
'route_domain' => null ,
];
2 changes: 2 additions & 0 deletions storage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit cb478ff

Please sign in to comment.