i was just trying to upload my file to laravel
This is my upload view
<form action="/DoUpload" method="post">
{{ csrf_field() }}
<input type="file" name="Image" value="Image">
<input type="submit" name="" value="Upload!">
</form>
this is my upload controller
public function index(Request $request){
$IMAGE = $request->file('Image');
dd($IMAGE);
}
when i try to dd the image, the page said that it is null..
file="true"in your form. It will solve your issue