PHP code example of biigle / laravel-cached-openstack

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

    

biigle / laravel-cached-openstack example snippets


use Biigle\CachedOpenStack\OpenStack;

$cache = app('cache');
$options = [
   // OpenStack options...
];

$openstack = new OpenStack($cache, $options);

$options = [
   'cacheOptions' => [
      'ttl' => 3600,
   ],
];

$openstack = new OpenStack($cache, $options);