Santosh Upadhyay
Santosh Upadhyay

Reputation: 89

How to get a image from Google drive link using laravel

Hello all am trying to get the image from Google drive link and upload the same to Amazon S3 location using laravel php.

Can any on please help me with the best possible way to do so.

Any help is deeply appreciated.

Upvotes: 0

Views: 2491

Answers (1)

wschopohl
wschopohl

Reputation: 1732

Use the Laravel Http Facade to download the image to a local temporary folder.

Then use the Laravel Filesystem S3 driver to upload the image again.

Reading above documentation you should be good to go pretty quick!

Upvotes: 1

Related Questions