- PHP 7.4
Add to composer require:
"promorepublic/media-storage-sdk": "^0.1
Add to composer repositories:
{"type":"git","url":"https://github.com/PromoRepublic/media-storage-sdk"}
uploadMedia(string): string
to upload a media file to PR google storagefindAndUploadImages(array): array
to upload all media files in array to PR google storage. It takes each string value that contains.jpg|.jpeg|.png|.gif
and createsmedia_storage_$KEY
index at the same to the string value level of array with a link to PR google storage. It converts each key of array to string