create new file in directory laravel storage code example Example: laravel filesystem $exists = Storage::disk('s3')->exists('file.jpg');