php api for any sms gateway ,can be integrated on any php application
//initialize setting
require_once('sms_api.php');
//for get method service
//dont modify {recipient}& {message} if you dont know how it work
$url = "https://example.com/username=xxx&password=hhh&recipient={recipient}&messsage={message}";
$sms = new sms_api(['link'=>$url]);
$data['recipients'] ="";
$data['message'] ="";
$sms->send('GET', $data, NULL));
//for post method service
$curl_post_data =['recipient'=>'','messsage'=>''];
$header = ['apikey'=>''];
$sms->send('POST', json_encode($curl_post_data), $header));
//return response
$sms->get_return_data();