kronas/smpp-client-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kronas/smpp-client-bundle

最新稳定版本:1.1.0

Composer 安装命令:

composer require kronas/smpp-client-bundle

包简介

Symfony SMPP Client Bundle

README 文档

README

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

统计信息

  • 总下载量: 58.72k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-18