fpz.wilson's avatar

How to get started with aws s3 with laravel?

Hi, I never used aws S3 before. But I think I should learn it now. Take a user system with laravel and mysql for example, normally I would create a users table with column "user_id","profile_img", etc. Then I would create a form to let user(id=5) upload their image. And the backend would move the file to /public/img/upload/profile_5.jpg. Also there will be a record in the database like "user_id=>5, profile_img=>profile_5.jpg". Next time when the user enter the profile page, the backend would check the database and generate the image url like to the blade view.

Could some one kindly give me some tips about the whole process above when transferred to aws s3 without saving the file image on the server? Thanks.

0 likes
0 replies

Please or to participate in this conversation.