Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Symfony GatewayApi Notifier Bridge

License

NotificationsYou must be signed in to change notification settings

symfony/gateway-api-notifier

Provides GatewayApi integration for Symfony Notifier.

DSN example

GATEWAYAPI_DSN=gatewayapi://TOKEN@default?from=FROM

where:

  • TOKEN is API Token (OAuth)
  • FROM is sender name

See your account info athttps://gatewayapi.com

Adding Options to a Message

With a GatewayApi Message, you can use theGatewayApiOptions class to addmessage options.

useSymfony\Component\Notifier\Message\SmsMessage;useSymfony\Component\Notifier\Bridge\GatewayApi\GatewayApiOptions;$sms =newSmsMessage('+1411111111','My message');$options = (newGatewayApiOptions())    ->class('standard')    ->callbackUrl('https://my-callback-url')    ->userRef('user_ref')    ->label('label')// ...    ;// Add the custom options to the sms message and send the message$sms->options($options);$texter->send($sms);

Resources

About

Symfony GatewayApi Notifier Bridge

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors15

Languages


[8]ページ先頭

©2009-2025 Movatter.jp