php write service for store files based on driver code example Example: laravel filesystem $exists = Storage::disk('s3')->exists('file.jpg');