file_put_contents(/Users/.../storage/framework/cache/data/rinvex.cacheable.json): failed to open stream: No such file or directory
```
The referring Code is in `cacheable/src/CacheableEloquent.php:99`
```
protected static function storeCacheKey(string $modelName, string $cacheKey)
{
$keysFile = storage_path('framework/cache/data/rinvex.cacheable.json');
$cacheKeys = static::getCacheKeys($keysFile);
if (! isset($cacheKeys[$modelName]) || ! in_array($cacheKey, $cacheKeys[$modelName])) {
$cacheKeys[$modelName][] = $cacheKey;
file_put_contents($keysFile, json_encode($cacheKeys));
}
}
```
Actually if the data folder inside framework/cache is not present creating the file will fail.
Manually creating the folder and everything is fine.
My Question
---------------
Shall i provide a PullRequest that simply checks if the folder exists and creates it?
Best
null9beta