Use twilio to send SMS , they have a nice API, where you can do many great things, and also as @ianplain said many providers supports POST or GET requet so you can use CURL or PHP, or any other programing language. Iām very satisfied with the Twilio SMS API