PHP code example of kokozm / laravel-query-logger

1. Go to this page and download the library: Download kokozm/laravel-query-logger 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/ */

    

kokozm / laravel-query-logger example snippets



return [
    'enabled' => env('LARAVEL_QUERY_LOGGER_ENABLED', false),
];


# php artisan vendor:publish --provider=Kokozm\LaravelQueryLogger\ServiceProvider --tag=config