PHP code example of demian / laravel-cache-rethinkdb
1. Go to this page and download the library: Download demian/laravel-cache-rethinkdb 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/ */
demian / laravel-cache-rethinkdb example snippets
Cache::store('rethinkdb')->get('key_1');
Cache::store('rethinkdb')->put('key_1', 1);
Cache::store('rethinkdb')->increment('rest_1', 1);
Cache::store('rethinkdb')->decrement('rest_1', 1);