Herbs like dangelion, ginger, cayenne,horsersdish and licorice root also help relieve constipation. So does MSM.
I guess Miralax is probably safe enough for short term use, but should not be used longer term, as it can cause mineral imbalances, and/or a dependance on it.