Download the PHP package okorneliuk/symfony-websms-notifier without Composer
On this page you can find all versions of the php package okorneliuk/symfony-websms-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download okorneliuk/symfony-websms-notifier
More information about okorneliuk/symfony-websms-notifier
Files in okorneliuk/symfony-websms-notifier
Package symfony-websms-notifier
Short Description Symfony WebSms Notifier Bridge
License MIT
Homepage https://github.com/okorneliuk
Informations about the package symfony-websms-notifier
WebSms Notifier
Provides WebSms integration for Symfony Notifier.
The transport uses the WebSms Messaging REST API:
POST /rest/smsmessaging/text with a UTF-8 JSON payload. Recipient phone numbers must use the
international E.164 format (for example, +436991234567).
DSN example
where:
CLIENT_IDis your emailAPI_KEYis your WebSms API passwordTEST_MODE(Optional) the test parameter is used during system connection testing. Possible values: 0 (real SMS sent), 1 (test SMS, will not be delivered to the phone and will not be charged)
Message options
The sender and provider-specific options can be configured on an individual message:
Available options are clientMessageId, contentCategory, maxSmsPerMessage, messageType,
notificationCallbackUrl, priority, sendAsFlashSms, senderAddressType, and validityPeriod.
The documented values for contentCategory, messageType, and senderAddressType are exposed as
PHPDoc literal-string types for IDE autocomplete and static analysis while remaining regular strings
at runtime to support new values, introduced by the provider.
Then add a service: