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

تعليقات

المشاركات الشائعة من هذه المدونة

How to Create Treeview with Bootstrap and jQuery

jQuery Datatables with PHP, MySQL and AJAX Example

How to Add Images to Dropdown List using jQuery