PHP code example of mnabialek / laravel-sql-logger

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

    

mnabialek / laravel-sql-logger example snippets

   
   composer 

    Mnabialek\LaravelSqlLogger\Providers\ServiceProvider::class,
    

   $app->register(Mnabialek\LaravelSqlLogger\Providers\ServiceProvider::class);
   

    php artisan vendor:publish --provider="Mnabialek\LaravelSqlLogger\Providers\ServiceProvider"
    

    php artisan vendor:publish