rentbetter/just-call-notifier
最新稳定版本:v7.2.1
Composer 安装命令:
composer require rentbetter/just-call-notifier
包简介
Symfony JustCall Notifier Bridge
关键字:
README 文档
README
Provides JustCall integration for Symfony Notifier.
Installation
- Install package using composer
composer require rentbetter/just-call-notifier:^6.1
- Add your JustCall DSN to your environment variables, e.g. in
.env
JUST_CALL_DSN=justCall://API_KEY:API_SECRET@default?from=FROM
- Register the
JustCallTransportFactoryin yourservices.yaml
notifier.transport_factory.justCall: class: Symfony\Component\Notifier\Bridge\JustCall\JustCallTransportFactory parent: notifier.transport_factory.abstract tags: ['texter.transport_factory']
- Enable the JustCall transport in your
config/packages/notifier.yamlconfiguration
framework: notifier: texter_transports: justCall: '%env(JUST_CALL_DSN)%'
- Start sending SMS in your application, see the symfony docs
DSN example
JUST_CALL_DSN=justCall://API_KEY:API_SECRET@default?from=FROM
where:
API_KEYis your JustCall api keyAPI_SECRETis your JustCall api secretFROMis your sender, E.164 without the leading +
Resources
统计信息
- 总下载量: 8.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-29