laravel display request code example
Example 1: laravel get all inputs from request
$input = $request->all();
Example 2: laravel request has
if ($request->has('name')) {
//
}
$input = $request->all();
if ($request->has('name')) {
//
}