Input::get request laravel code example
Example 1: laravel get all request parameters
$request->input('name');
$request->input('user.name'); // fetch from user object
Example 2: laravel request has
if ($request->has('name')) {
//
}
$request->input('name');
$request->input('user.name'); // fetch from user object
if ($request->has('name')) {
//
}