PHP code example of spiritix / lada-cache
1. Go to this page and download the library: Download spiritix/lada-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/ */
spiritix / lada-cache example snippets
class Car extends \Illuminate\Database\Eloquent\Model {
use \Spiritix\LadaCache\Database\LadaCacheTrait;
// ...
}
shell
php artisan vendor:publish
shell
php artisan lada-cache:flush
shell
php artisan lada-cache:disable
php artisan lada-cache:enable