A general theoretical model for passively mode-locked lasers is presented, in which both the self-frequency shift and either a fast or a slow saturable absorber response are taken into account. An exact soliton-like solution and condition for its existence are obtained under a definite compatible condition. The stability of the solution is analyzed by using a variational method, and a parameter region, in which the solution is linearly stable, is acquired theoretically. To verify the theoretical predictions, a typical example is given for stable pulse propagation over a long distance. The numerical results show that the soliton-like solution is stable under some perturbations within the linearly stable region and an arbitrary Gaussian pulse converges to the exact soliton-like solution after evolution in a distance.