Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spacetab-io/smsaero-notifier-php


https://github.com/spacetab-io/smsaero-notifier-php

symfony-notifier

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

SmsAero Notifier
================

Provides [SmsAero](https://smsaero.ru/) integration for Symfony Notifier.

notifier.yaml
-----------

```
framework:
notifier:
texter_transports:
smsaero: '%env(SMSAERO_DSN)%'
```

DSN example
-----------

```
SMSAERO_DSN=smsaero://EMAIL:API_KEY@default?from=FROM&channel=CHANNEL
```

where:
- `EMAIL` account email (must be urlencoded, example: test%40example.com)
- `API_KEY` is a secret key from [settings page](https://smsaero.ru/cabinet/settings/apikey/)
- `FROM` is your sender (NB: text identity, not a phone number)
- `CHANNEL` channel type, default: INTERNATIONAL

Resources
---------

* [Contributing](https://symfony.com/doc/current/contributing/index.html)
* [Report issues](https://github.com/symfony/symfony/issues) and
[send Pull Requests](https://github.com/symfony/symfony/pulls)
in the [main Symfony repository](https://github.com/symfony/symfony)