laravel storage facade set connection on a fly code example Example: laravel filesystem $exists = Storage::disk('s3')->exists('file.jpg');