The Storage facade uses the storage that is active in your config files (config/filesystems.php). Note that this defaults to local. The root path is set for each storage option. In the case of local it's pointing to storage/app out of my head.
So it's not possible to retrieve a file with Storage that is not in your project without weird hacks!
@bobbybouwmann Thanks, and that makes a lot of sense... I should have known that!
What about Files? I've seen examples that say it should work. In fact, this is the first Google result when searching for "Laravel file exists." Was this removed in L5?
I am new to laravel and was dealing with images, what i understood here is, considering images are stored in public/images folder
file_exists needs full path to image like var/.../...//storage/images/
$image_path = storage_path(images/)
file_exists(storage_path($image_path) this will return true
Whearas, Storage Facade only needs images/
$image_path = "images/";
Storage::exists($image_path) this will return true