PHP code example of faktiva / php-redis-admin

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

    

faktiva / php-redis-admin example snippets


// app/config/config.php

   $config,
    array(
		/*
		 * the following are your custom settings ...
		 */
        'debug' => true,
        'auth' => null,
        'log' => array(
            'driver'    => 'file',
            'threshold' => 5, /* 0: Disable Logging, 1: Error, 2: Warning, 3: Notice, 4: Info, 5: Debug */
            'file'      => array('directory' => 'var/logs')
        ),
    )
);

return $config;