mercredi 21 juillet 2021

Set name when uploading image file with laravel

I'm working on uploading pictures to minio in laravel.

Storage::cloud()->put('image', $request->file, 'public');

Upload was successful, but it is saving random name.. now i want to assign name to it, what should i do.

Random name upload : LD7fBO5seB8KMbYFS8wNafjK73hfA7lyUPAarGme.jpg

Give me ideas.Thanks



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3BvkjfR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire