PHP code example of revolta77 / laravel-sql-logger

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

    

revolta77 / laravel-sql-logger example snippets

   
   composer 

    Revolta77\LaravelSqlLogger\Providers\ServiceProvider::class,
    

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

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

    php artisan vendor:publish