Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

phplwsmpp

Lightweight PHP implementation of the SMPP 3.3 and SMPP 3.4 API. Includes the SMPP receiver and SMPP transmitter implementations.

<?php
require_once "smpp.php";
$tx=new SMPP('host',port); // make sure the port is integer
$tx->debug=true;
$tx->system_type="";
$tx->addr_npi=1;
//print "open status: ".$tx->state."\n";
$tx->bindTransmitter("username","password");
$tx->sms_source_addr_npi=1;
//$tx->sms_source_addr_ton=1;
$tx->sms_dest_addr_ton=1;
$tx->sms_dest_addr_npi=1;
$tx->sendSMS("2121","mobile no","Hello world!");
$tx->close();
unset($tx);

About

Light weight SMPP library written in PHP

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages