Skip to content
PHP 5 based SMPP client bundle for Symfony2. Forked from https://github.com/onlinecity/php-smpp
Branch: master
Clone or download
Pull request Compare This branch is 22 commits ahead of FuentesWorks:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DependencyInjection
Encoder
Exception
Resources
Service
SmppCore
Transport
.gitignore
KronasSmppClientBundle.php
README.md
SMPP.php
composer.json

README.md

SmppClientBundle

PHP 5 based SMPP client bundle for Symfony2. Forked from https://github.com/onlinecity/php-smpp

For now, it only sends messages.. trasmitter mode

Installation

Add to composer.json

"require": {
    "kronas/smpp-client-bundle": "1.0.0-dev"
}

Add to AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Kronas\SmppClientBundle\KronasSmppClientBundle(),
    );

    return $bundles;
}

Add to config.yml

kronas_smpp_client:
    host: %smpp_host%
    port: %smpp_port%
    login: %smpp_login%
    password: %smpp_password%
    signature: %smpp_signature%

More configuration parameters

Usage

$smpp = $this->get('kronas_smpp_client.transmitter');

$smpp->send($phone_number, $message);

*Phone number must be in international format without "+"

**Function "send" return a message ID

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE
You can’t perform that action at this time.