In this paper, we investigate the ground-state phase diagram of the $S=1/2$ Heisenberg-$\mathrm{\ensuremath{\Gamma}}$ model on a honeycomb lattice by dimer series expansion and exact diagonalization. We focus on the effects of the anisotropy of the interactions; by tuning the coupling constants, the system changes between the isolated dimer and the spin-chain models. We find that, in the spin-chain limit, there are three kinds of states: A Tomonaga-Luttinger liquid and two magnetically long-range-ordered states. All three states become two-dimensional long-range-ordered states by the infinitesimal interchain interaction except for the case where the Heisenberg interaction is much weaker than the off-diagonal symmetric $(\mathrm{\ensuremath{\Gamma}})$ interaction. Starting from the isolated dimer limit, a triplet dimer phase survives up to the isotropically interacting system in a large part of the phase diagram where the Heisenberg and $\mathrm{\ensuremath{\Gamma}}$ interactions are ferromagnetic and antiferromagnetic, respectively. Otherwise, a phase transition to a magnetically ordered phase occurs before the interaction becomes isotropic. This indicates that the quantum spin liquid proposed in the $\mathrm{\ensuremath{\Gamma}}$ model [A. Catuneanu et al., npj Quantum Mater. 3, 23 (2018)] is unstable against the anisotropy of the interactions.