PHP code example of eleven26 / listen-sql

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

    

eleven26 / listen-sql example snippets


    'providers' => [
        //...
        Eleven26\ListenSql\ListenSqlServiceProvider::class,
    ],
    

    $app->register(Eleven26\ListenSql\ListenSqlServiceProvider::class);
    

php artisan listen-sql:start