PHP code example of ahmedmashhour / laravel-query-debugger
1. Go to this page and download the library: Download ahmedmashhour/laravel-query-debugger library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ahmedmashhour / laravel-query-debugger example snippets
'enabled' => env('QUERY_DEBUG_ENABLED', false),
'slow_query_threshold' => 100, // milliseconds
'connections' => ['mysql', 'tenant_db'], // or ['*'] for all