proklung / smstraffic-notifier
Symfony SMSTRAFFIC.RU Notifier Bridge
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bridge
Requires
- php: >=7.2.5 | ~8
- symfony/http-client: ^4.4|^5.2|^6.0
- symfony/notifier: ^5.3|^6.0
Requires (Dev)
- phpunit/phpunit: ^7.5.2 || ^8.0 || ^9.0
This package is auto-updated.
Last update: 2024-10-27 16:22:14 UTC
README
Provides SMSTRAFFIC integration for Symfony Notifier.
Installation
composer.json:
"repositories": [ { "type": "git", "url": "https://github.com/proklung/smstraffic-notifier" } ]
composer require proklung/smstraffic-notifier
DSN example
SMSTRAFFIC_DSN=smstraffic://LOGIN:PASSWORD@default?from=FROM
where:
LOGIN
is your loginPASSWORD
is your API passwordFROM
is your sender (NB: text identity, not a phone number)
Нюансы
В кастомных вариантах Symfony
фабрику SmsTrafficTransportFactory
надо пометить тэгом вручную (автоконфигурация
не срабатывает).
services.yaml
Prokl\Component\Notifier\Bridge\SmsTraffic\SmsTrafficTransportFactory: class: Prokl\Component\Notifier\Bridge\SmsTraffic\SmsTrafficTransportFactory tags: ['texter.transport_factory']