playtini/mautic-sms-gateway-bundle

Mautic plugin to send messages via sms gateway

1.0.13 2023-05-23 11:15 UTC

README

Mautic plugin https://github.com/playtini/mautic_base. Designed to send SMS messages through custom providers. This plugin intercepts the message sending event and redirects it to https://sms-gateway.p777.org https://github.com/playtini/sms_api_gateway The provider is determined on the gate side based on the message category that is passed as a parameter. Currently implemented integrations:

Run

Mautic plugin's installation

To communicate with the sms-gate, the Mautic must have an env with its URL

MAUTIC_CONFIG_SMS_API_GATE_URL=https://sms-gateway.p777.org

Usage

Params passed to sms gate example:

'phone_number' => '+380501111111',
'message' => 'test',
'category' => 'Prostor',
'currency' => 'RUB',
'custom_sms' => false