DEV Community

loading...

Laravel: upload directly to Google Cloud Storage bucket without saving locally

ediri_aghwotu profile image Aghwotu Ovuoke ・1 min read

I am using the google/cloud-storage package in an API and successfully uploading pdf files to a Google Cloud Storage bucket. However, the pdf files are first saved locally before they are uploaded to the Google Cloud Storage bucket.

How can I skip saving them locally and instead upload them directly…

Discussion (1)

pic
Editor guide
Collapse
ediri_aghwotu profile image
Aghwotu Ovuoke Author

The question has now been answered on StackOverflow. Thank you!