furison/page-one-notifier
最新稳定版本:1.0.2
Composer 安装命令:
composer require furison/page-one-notifier
包简介
Symfony Page One sms Notifier Bridge
README 文档
README
Provides PageOne integration for Symfony Notifier.
DSN example
PAGE_ONE_DSN=page-one://USERNAME:PASSWORD@default?from=FROM
where:
USERNAMEis your API UsernamePASSWORDis your API passwordFROMis the sender name
See your account info at https://www.pageone.co.uk/login
Installation
- Clone this repository
- Add the following config in services:
services: Furison\Notifier\PageOne\PageOneTransportFactory: parent: 'notifier.transport_factory.abstract' tags: ['texter.transport_factory']
- Add the following in the
notifier.yamlfile:
framework: notifier: texter_transports: page-one: '%env(PAGE_ONE_DSN)%'
- Add the DSN (as above) to your
.envfile - Use it as described here: https://symfony.com/doc/current/notifier.html#creating-sending-notifications but use
['sms']as the type - Profit!
Resources
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-05-07