PHP code example of pavlo-krostylov / laravel-passport-cache-client
1. Go to this page and download the library: Download pavlo-krostylov/laravel-passport-cache-client 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/ */
pavlo-krostylov / laravel-passport-cache-client example snippets
return [
//...
'cache' => [
// Cache key prefix
'prefix' => 'passport_',
// The lifetime of passport cache(seconds).
'expires_in' => 300,
// Cache tags
'tags' => [],
],
];