Under the background of perfect fluid and flat Friedmann–Lemaître–Robertson–Walker (FLRW) space-time, this paper mainly describes the dynamics of the cosmological model constructed in f(R,T) gravity on three invariant planes, by using the singularity theory and Poincaré compactification in differential equations.