diff --git a/config/cache.php b/config/cache.php index e87f0320..fa12e5e4 100644 --- a/config/cache.php +++ b/config/cache.php @@ -86,6 +86,9 @@ return [ | */ - 'prefix' => 'laravel', + 'prefix' => env( + 'CACHE_PREFIX', + str_slug(env('APP_NAME', 'laravel'), '_').'_cache' + ), ];