Last active
December 17, 2018 11:31
-
-
Save xeebeast/1be881e9e3f6f1158f8e75c32217183c to your computer and use it in GitHub Desktop.
Upload file to Google Storage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Storage::disk('gcs')->put("Name.pdf", $this->fileContent, 'public'); | |
$pdfUrl = Storage::disk('gcs')->url("Name.pdf"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment