Download the PHP package steppinghat/symfony-d7-notifier without Composer
On this page you can find all versions of the php package steppinghat/symfony-d7-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download steppinghat/symfony-d7-notifier
More information about steppinghat/symfony-d7-notifier
Files in steppinghat/symfony-d7-notifier
Package symfony-d7-notifier
Short Description Provides D7 networks integration for Symfony Notifier
License MIT
Homepage https://github.com/steppinghat/symfony-d7-notifier
Informations about the package symfony-d7-notifier
Symfony D7 Networks Notifier
Provides D7 Networks integration for Symfony Notifier.
Installation
Install this package using composer
Add the D7 transport in config/pakages/notifier.yaml
Define the D7 DSN environment variable in .env
TOKEN
is your D7 Networks API token and PARAMETERS
is a query string that is built with the following parameters:
Parameter | Type | Description |
---|---|---|
from |
string | The sender number or alphanumeric name. |
defaultLocale |
string | The two-letter country code to convert local numbers to international numbers. |
allowUnicode |
bool | Allow messages to be encoded and sent using unicode if UTF-8 characters are present. Optional, defaults to true. |
A typical example DSN would be:
and lastly register the service in services.yaml
Contributing
Tests
Included for library development purposes is a small set of test cases to assure that basic library functions work as expected. These tests can be launched by running the following:
License
Made with ❤ by Javan Eskander
Available for use under the MIT license
All versions of symfony-d7-notifier with dependencies
ext-json Version *
ext-mbstring Version *
symfony/event-dispatcher Version ^5.4
symfony/http-client Version ^5.4
symfony/notifier Version ^5.4
giggsey/libphonenumber-for-php Version ^8.0