PHP code example of bazarov392 / db-to-redis-events-laravel

1. Go to this page and download the library: Download bazarov392/db-to-redis-events-laravel 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/ */

    

bazarov392 / db-to-redis-events-laravel example snippets


// app/Providers/AppServiceProvider.php
use Bazarov392\RedisEventsFromDB;

public function boot(): void
{
    RedisEventsFromDB::init();
    // ...
}
text
db_event.{tableName}.{typeEvent}.{idRow}