$image = new Image(
[
'img1' => $request->has("image1") ? $req->file('image1')->store('uploads','public'): null,
'img2' => $request->has("image2") ? $req->file('image2')->store('uploads','public'): null,
'img3' => $request->has("image3") ? $req->file('image3')->store('uploads','public'): null,
'img4' => $request->has("image4") ? $req->file('image4')->store('uploads','public'): null,
'img5' => $request->has("image5") ? $req->file('image5')->store('uploads','public'): null,
]
);
<button @click="deleteFile(index)" class="btn btn-danger btn-sm mr-1 float-right">
<i v-if="loading" class="fa fa-spinner fa-spin fa-fw"></i>
<i class="fa fa-trash-o" aria-hidden="true"></i>
</button>