laravel get request input on view code example Example: laravel request has if ($request->has('name')) { // }