Here is the approach: (view.blade.php -> web.php -> controller)
Html (viewName.blade.php)
<div class="field-body">
<div class="field">
<p class="control">
<input class="datepicker" type="text" placeholder="Select date" name="dateFrom" >
</p>
</div>
</div>
The name="inputName" property allows laravel to know what type of input field you want when using request.
Web.php
Route::post('/view', 'controllerName@method');
controllerName.php
public function getDate(Request $request){
$date = $request->input('dateFrom');
dd($date);
}
Keep in mind, if you want to pass input fields to controller, you must have the them wrapped inside a form, like this.
<form method="POST" action="/view">
<!-- Declare input fields -->
</form>