I am new to Laravel and I\'m having trouble with posting data to a controller. I couldn\'t find the corresponding documentation. I want to something similar in Laravel that
This works best
in web.php
Route::post('someurl', 'YourController@someMethod');
and in your Controller
public function someMethod(Request $request)
{
dd($request->all()); //to check all the datas dumped from the form
//if your want to get single element,someName in this case
$someName = $request->someName;
}