PHP code example of kybdev / laravel-redis-read-cache

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

    

kybdev / laravel-redis-read-cache example snippets


$units = Unit::where('active', 1)->get();
bash
php artisan redis:profile
php artisan redis:profile --limit=50
bash
php artisan redis:hot-runner
php artisan redis:hot-runner --tables=units,systems --limit=500 --force