PHP code example of unifreak / rememberable-db

1. Go to this page and download the library: Download unifreak/rememberable-db 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/ */

    

unifreak / rememberable-db example snippets


// first, import RDB facade
use RDB

// you need to call table() first, then you can use the caching functions
// see <https://github.com/dwightwatson/rememberable>
RDB::table()->remember()....