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