定制 rentbetter/plivo-notifier 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rentbetter/plivo-notifier

最新稳定版本:v7.2.1

Composer 安装命令:

composer require rentbetter/plivo-notifier

包简介

Symfony Plivo Notifier Bridge

README 文档

README

This repository is archived and no longer maintained.

Symfony now provides official Plivo support via the Symfony Notifier component, which fully replaces this package.

👉 Please use the official package instead: https://github.com/symfony/plivo-notifier

Reasons for archiving:

  • Official Symfony support is actively maintained
  • Better long-term compatibility with Symfony versions
  • Security fixes and new features are handled upstream

This repository remains available for historical reference only.

Plivo Notifier

Provides Plivo integration for Symfony Notifier.

Installation

  1. Install package using composer
composer require rentbetter/plivo-notifier@^6.1
  1. Add your Plivo DSN to your environment variables, e.g. in .env
PLIVO_DSN=plivo://AUTH_ID:AUTH_TOKEN@default?from=FROM
  1. Register the PlivoTransportFactory in your services.yaml
notifier.transport_factory.plivo:
   class: Symfony\Component\Notifier\Bridge\Plivo\PlivoTransportFactory
   parent: notifier.transport_factory.abstract
   tags: ['texter.transport_factory']
  1. Enable the Plivo transport in your config/packages/notifier.yaml configuration
framework:
  notifier:
    texter_transports:
      plivo: '%env(PLIVO_DSN)%'
  1. Start sending SMS in your application, see the symfony docs

DSN example

PLIVO_DSN=plivo://AUTH_ID:AUTH_TOKEN@default?from=FROM&statusUrl=URL&statusUrlMethod=METHOD

where:

  • AUTH_ID is your Plivo auth ID
  • AUTH_TOKEN is your Plivo auth token
  • FROM is your sender
  • URL (optional) is the URL to which Plivo should send delivery updates
  • METHOD (optional) is the HTTP method (GET, POST) with which Plivo should call URL

Resources

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固