I have an API project using Laravel and these requires me to have a download and save it to public folder and in database.
Flow:
A field will come through the API call, i.e. through the company_logo field. It will come through as a URL: http://a.mktgcdn.com/p/Lr5Sfx0OllncmEPfQGX11ZqUZSmcUhbvc5a-u-FrMCU/1.0000/300x300.jpg. I need to grab the image and save it locally to a unique folder per listing and save it also to database.
I don't have code yet because I don't know what to do here in Laravel.