Lara-Termii helps you Set up, test, and manage your Termii integration directly in your Laravel App.
You can install the package via composer:
composer require zeevx/lara-termii
$termii = new \Zeevx\LaraTermii\LaraTermii("YOUR-TERMII-API-KEY");
$termii->balance()
$termii->history()
$termii->status(int $phone_number, string $country_code)
and pass appropriate params$termii->search(int $phone_number)
and pass appropriate params$termii->allSenderId()
$termii->submitSenderId(string $sender_id, string $use_case, string $company)
and pass appropriate params$termii->sendMessage(int $to, string $from, string $sms, string $channel = "generic", bool $media = false, string $media_url = null, string $media_caption = null)
and pass appropriate params$termii->sendOTP(int $to, string $from, string $message_type, int $pin_attempts, int $pin_time_to_live, int $pin_length, string $pin_placeholder, string $message_text, string $channel = "generic")
and pass appropriate params$termii->sendVoiceOTP(int $to, int $pin_attempts, int $pin_time_to_live, int $pin_length)
and pass appropriate params$termii->sendVoiceCall(int $to, int $code)
and pass appropriate params$termii->verifyOTP(string $pinId, string $pin)
pass appropriate params$termii->sendInAppOTP(int $to, int $pin_attempts, int $pin_time_to_live, int $pin_length, string $pin_type)
and pass appropriate paramsIf you discover any security related issues, please email adamsohiani@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.