I am trying to implement an api for my dummy mobile app and I am using MySQL and Laravel 5 for that. I want to store images that user posts from mobile client. I wonder, what is the best practice for storing these images. Any help would be appreciated.
Asked
Active
Viewed 879 times
1 Answers
0
A way would be storing them as a blob in the MySQL database.
But I'd prefer to save them on your HDD or on S3 or similar services and just link to them when they are requested. This should be easier and more "natural". (For more info, here is a related StackExchange question
I can suggest Intervention for dealing with image saving through Laravel.

manniL
- 7,157
- 7
- 46
- 72