Preview:
1. First of all enter a attribute in the form tag to upload/save image or file
<form enctype="multipart/form-data">
</form>
2. Now to store image in blade write the following input
<input type="file" name="myImage">
3. Then in the controller in store method write the followinig code
if ($request->hasFile('myImage')) {
            $imageName = time().'.'.$request->file('myImage')->getClientOriginalExtension(); 
  ////////////////////It store the image/file to the storage/app/public folder//////////////
            $request->file('myImage')->storeAs('public', $imageName);
            $customer->image = $imageName;
        }

///////////////////Unable to file from storage/app/public folder./////////////////////////
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter