PHP code example of tillkruss / laravel-phpredis

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

    

tillkruss / laravel-phpredis example snippets


// Illuminate\Redis\RedisServiceProvider::class,

TillKruss\LaravelPhpRedis\RedisServiceProvider::class,

$app->register(TillKruss\LaravelPhpRedis\RedisServiceProvider::class);