1
HTML:
{!! Form::file('images[]', ['id'=>'images_id']) !!}
controller:
if($request->hasFile('images')){
foreach($request->file('images') as $file) {
$file->move(base_path().'/public/uploads/', $file->getClientOriginalName());
}
}
来自 https://segmentfault.com/q/1010000004923615