Download the PHP package terox/sms-campaign-bundle without Composer
On this page you can find all versions of the php package terox/sms-campaign-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download terox/sms-campaign-bundle
More information about terox/sms-campaign-bundle
Files in terox/sms-campaign-bundle
Package sms-campaign-bundle
Short Description Symfony Bundle for SMS Campaigns
License MIT
Homepage https://github.com/terox/SmsCampaignBundle
Informations about the package sms-campaign-bundle
SmsCampaignBundle
About The Project
The SmsCampaignBundle provides tools and services to create and send SMS campaigns to a high volume of users. Currently, it can send SMS though SMPP client, the most used protocol for send high volumes.
About the SMPP Client
Due the PHP limitations on persistent and async processes management, I have created the utility smpp-cli for NodeJS. This is a little daemon that implements a to connect the PHP consumers with smpp-cli processes that sent the SMS through SMPP server.
The impact of implement this architecture is minimum and solves a lot of headaches with SMPP providers like repetitive connections, timeouts, two processes (one to sent, one to receive) etc.
This is completely transparent for developer.
Note: The customized php-smpp is definitely deprecated.
Installation:
1. Require the bundle and its dependencies with composer:
2. Install :
2. Register and in your AppKernel.php:
3. Add the configuration to your :
4. If you haven't added the configuration, add it to your :
You are free to configure the RabbitMQ bundle. The producers and consumers are preconfigured in SmsCampaignBundle.
Usage
There are two ways to start the SMPP daemon ():
A. Start the SMPP daemon manually (recommended):
This will execute the daemon and will listen the port. You need to pass your credentials manually:
Note: You can use as many demons as you need, for example if you have more than one SMPP provider; only change the port number.
I recommend you that executes this command inside supervisor to keep it running if something was wrong (like server updates, unexpected errors...).
Keep in mind:
- The credentials could be shown at the process manager (like ) depending on how you pass the credentials to smpp-cli.
- If you use some deployment scripts, be sure to hide the sensitive data where you store these scripts.
B. Start the SMPP daemon with a Symfony console:
The propose of this command is to use the Symfony configuration params to configure the daemons:
Warning! This command still not working as I expected. It need little more research. I hope fix it in the next major release, but you are free to sent your PR.
TODO
[ ] Message model extension
License
See: LICENSE.md
All versions of sms-campaign-bundle with dependencies
symfony/yaml Version ^3.2
symfony/monolog-bundle Version ^3.1
symfony/framework-bundle Version ^3.2
symfony/process Version ^3.2
doctrine/orm Version ^2.4.8
doctrine/doctrine-bundle Version ~1.4
stof/doctrine-extensions-bundle Version ^1.2
php-amqplib/rabbitmq-bundle Version ^1.12
dnode/dnode Version ^0.2.0