laravel how to use request to get input value code example Example: laravel request has if ($request->has('name')) { // }