DEV Community

Aghwotu Ovuoke
Aghwotu Ovuoke

Posted on

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

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…

Top comments (1)

Collapse
 
ediri_aghwotu profile image
Aghwotu Ovuoke

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more