KV Storage Configuration (config/kv-storage.php
)
This file defines the default key-value store driver used by components that rely on centralized, non-cache storage.
🔧 Example​
return [
'default' => env('KV_STORAGE_DRIVER', 'redis'),
];
Key-value storage is useful for scenarios like:
- Rate limiting
- Shared state across workers
For supported drivers you can see a roadrunner documentation.
This is separate from
cache.php
to provide a distinct layer for structured KV operations.