$file = public_path('storage/images/' . $value)
if(! file_exists($file)){
return asset('storage/images/default.png');
}
$result = File::exists($myfile);
@if(file_exists('favicon.ico'))
File exists
@else
Could not find file
@endif
// From https://laravel-news.com/testing-file-uploads-with-laravel
Storage::disk('avatars')->assertExists('avatar.jpg');