承接 surfnet/messagebird-api-client-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

surfnet/messagebird-api-client-bundle

最新稳定版本:5.0.0-beta2

Composer 安装命令:

composer require surfnet/messagebird-api-client-bundle

包简介

A Symfony 3 & 4 bundle to integrate MessageBird's messaging service.

README 文档

README

Build Status Scrutinizer Code Quality SensioLabs Insight

A Symfony 3 bundle (with Symfony 4 support) to integrate MessageBird's messaging service.

End of life warning

We've decided to stop maintaining this bundle because we're moving to Spryng. Contact us if you are interested in taking over maintenance of this bundle.

Installation

  • Add the package to your Composer file

    composer require surfnet/messagebird-api-client-bundle
  • Add the bundle to your kernel in app/AppKernel.php

    public function registerBundles()
    {
        // ...
        $bundles[] = new Surfnet\MessageBirdApiClientBundle\SurfnetMessageBirdApiClientBundle;
    }
  • Configure your MessageBird access key

    surfnet_message_bird_api_client:
      authorization: 'AccessKey test_xxxxxxxxx'

Usage

Sending a message

public function fooAction()
{
    $message = new \Surfnet\MessageBirdApiClient\Messaging\Message(
        'SURFnet',
        '31612345678',
        'Your one-time SMS security token: 9832'
    );
    
    /** @var \Surfnet\MessageBirdApiClientBundle\Service\MessagingService $messaging */
    $messaging = $this->get('surfnet_message_bird_api_client.messaging');
    $result = $messaging->send($message);
    
    if ($result->isSuccess()) {
        // Message has been buffered, sent or delivered.
    }
}

Release strategy

Please read: https://github.com/OpenConext/Stepup-Deploy/wiki/Release-Management for more information on the release strategy used in Stepup projects.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 10
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2014-09-18