larave laccess form dat from request code example Example: laravel request has if ($request->has('name')) { // }