how to check latest request value in laravel controller code example Example: laravel request has if ($request->has('name')) { // }