apolinux/kannel

kannel mo/mt basic

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/apolinux/kannel

v0.7 2024-06-21 15:47 UTC

This package is auto-updated.

Last update: 2025-09-21 18:24:48 UTC


README

Send MT and Read MO

Send MT

Sends MT messages using function SendMt::send.

SendMt::send(string $url, string $username, string $password, string $from, string $to, string $text, string $smsc=null, array $params = [], float $timeout=60);

  • $url is the destination
  • $username and $password are the credentials
  • $from is the origin of message, usually the Shortcode
  • $to is the destination of message, the msisdn
  • $text is the content of message
  • $smsc optional. Specifies the name of SMSC center configured in kannel.
  • $params are optional values like charset, udh, flash.

Uses apolinux/curl library.

TODO

pending code of ReadMo class