Skip to content

onlinecity/php-smpp-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Thomas Duerlund
Jan 15, 2014
3476f2e · Jan 15, 2014

History

35 Commits
Mar 15, 2012
Jan 15, 2014
Jul 27, 2011
Jul 29, 2011
Jan 15, 2014
Aug 15, 2011
Jan 15, 2014
Jan 15, 2014
Jan 15, 2014
Mar 15, 2012
Jul 29, 2011
Oct 7, 2013
Jan 15, 2014

Repository files navigation

Multi process PHP-based workers for SMPP

Requirements

Submodule

This project use the following submodule onlinecity/php-smpp.

So remember to initialize it when you checkout this project:

git submodule init && git submodule update

Simple test usage (send 10x100 messages)

Run start.php to startup all processes, then inject messages into queue with script below.

<?php
require_once 'queuemodel.class.php';
$options = parse_ini_file('options.ini',true);
$q = new QueueModel($options);

$m = array();
for ($n=0;$n<10;$n++) {
	$r = array();
	for($i=0;$i<100;$i++) {
		$r[] = 4512345678;
	}
	
	$m[] = new SmsMessage(1234, 'Test', 'Lorem ipsum', $r);	
}

$q->produce($m);

Configure

You'll find all configurable options in the options.ini file.

About

Redis backed SMS service using SMPP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages