PHP integration

Steps

  • Open a free account at Royce BulkSMS, under API menu click generate API

  • Download Royce bulksms Gateway PHP Gateway

  • require gateway in your php file

require('RoyceBulkSMSGateway.php');
$token = "12|TILcnp2WYZmdv470ZJQuMQs1Sl4X08SdbSbfl70m";
$roycebulksms = new RoyceBulksmsGateway;
$roycebulksms->sendSMS('0713727937', "hello from vanilla php", 'RoyceLtd', $token);