We introduce a two-parameter ensemble of generalized real symmetric random matrices called the β-Rosenzweig–Porter ensemble (β-RPE), parameterized by β, a fictitious inverse temperature of the analogous Coulomb gas model, and γ, controlling the relative strength of disorder. β-RPE encompasses RPE from all of the Dyson’s threefold symmetry classes: orthogonal, unitary and symplectic for . Firstly, we study the energy correlations by calculating the density and 2nd moment of the nearest neighbor spacing (NNS) and robustly quantify the crossover among various degrees of level repulsions. Secondly, the dynamical properties are determined from an exact calculation of the temporal evolution of the fidelity enabling an identification of the characteristic Thouless and the equilibration timescales. The relative depth of the correlation hole in the average fidelity serves as a dynamical signature of the crossover from chaos to integrability and enables us to construct the phase diagram of β-RPE in the γ-β plane. Our results are in qualitative agreement with numerically computed fidelity for matrix ensembles. Furthermore, we observe that for large N the 2nd moment of NNS and the relative depth of the correlation hole exhibit a second order phase transition at γ = 2.