abeer's avatar
Level 1

Best practice to upload images to different clouds (laravel 5.*)

I'm developing a laravel application and I need to upload images to cloud some images will upload to amazon s3 and other images will upload to google cloud.

I need know what is the best practice to handle case of uploading images to different clouds in code? Is creating different helper for each service is a good solution? Or there is another optimal solution?

0 likes
2 replies
chatty's avatar

create your filesystem config in config/filesystem and when saving change it dynamically, Storage::disk(''google)

Please or to participate in this conversation.