\Storage::disk('verify_files')->put('verify-' . $fileCode[3], $fileCode[0]); $attach = \Storage::get(storage_path('app/public/verify') . '/' . 'verify-' . $fileCode[3]); I am using the code above to generate and fetch the file.
Here is the filesystem I use:
'verify_files' => [ 'driver' => 'local', 'root' => storage_path('app/public/verify'), 'visibility' => 'public', ], When I test it with file_exists(), it returns true but laravel returns FileNotFoundException in FilesystemAdapter.php line 61:
Am I missing something here?