toby/config/cache.php
Adrian Hopek 8f5f2b88f0
#1 - project skeleton (#7)
* #1 - project skeleton

* #1 - composer fix

* #1 - add app key to phpunit config

* #1 - change default session driver

* #1 - add EXTERNAL_WEBSERVER_PORT variable to .env.example
2022-01-10 13:28:18 +01:00

27 lines
635 B
PHP

<?php
declare(strict_types=1);
use Illuminate\Support\Str;
return [
"default" => env("CACHE_DRIVER", "file"),
"stores" => [
"array" => [
"driver" => "array",
"serialize" => false,
],
"database" => [
"driver" => "database",
"table" => "cache",
"connection" => null,
"lock_connection" => null,
],
"file" => [
"driver" => "file",
"path" => storage_path("framework/cache/data"),
],
],
"prefix" => env("CACHE_PREFIX", Str::slug(env("APP_NAME", "laravel"), "_") . "_cache"),
];