Closed aghwotu closed 3 years ago
I believe you already had the answer at the end of your code.
$disk = Storage::disk('gcs');
// create a file - store pdf in the cloud
$disk->put('your.pdf', file_get_contents($path));
Hello, 👋 there. Thank you for your kind response. I have long since deployed this project and forgot to close the issue. I also wrote a tutorial about it here
Thank you again.
Great writeup! :)
Hello there. Thank you for this package. I want to upload a pdf file I already stored locally to Google Cloud Storage. Please how do I do this? Thank you for your time.