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