furison / page-one-notifier
There is no license information available for the latest version (1.0.2) of this package.
Symfony Page One sms Notifier Bridge
Package info
github.com/furison/page-one-notifier
Type:symfony-bridge
pkg:composer/furison/page-one-notifier
1.0.2
2024-05-07 14:07 UTC
Requires
- php: >= 7.2.5
- symfony/http-client: ^4.3|^5.0|^6.0
- symfony/notifier: ^5.3|^6.3
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!