how to check query string whitout parameter in laravel code example Example: laravel get query parameters $name = $request->query('name', 'Helen');