Elanak is a prominent project designed to send text messages via multiple different service providers. This project is implemented using the PHP programming language and uses various APIs to send text messages.
This project is built for the Laravel framework and its goal is to provide better performance compared to other repositories and to collect multiple panels in one repository.
To install and use this project, run the following commands in your terminal:
$ composer require samgeeksdev/elanak
$ composer remove samgeeksdev/elanak
composer require kavenegar/laravel
composer require melipayamak/laravel:1.0.0
composer require ippanel/php-rest-sdk
These packages 🛠️ provide the necessary capabilities for sending text messages. Please run the above commands in your terminal. 🖥️
Elanak::send($messages)->via($provider)->api($api)->from($sender)->to('09185312051')->dispatch();
Sending with melipayamak
Elanak::send($messages)->to($to)->via($providerName)->api($api)->pattern($patternCode, $value)->dispatch();
Sending with Ippanel
Elanak::send($messages)->to($to)->via($providerName)->api($api)->pattern($patternCode, $value)->from($sender)->dispatch();
via('melipayamak')
via('kavenegar')،
via('ippanel')،
via('payamresan')
via('smsir')
و غیره تغییر دهید.
via('melipayamak')
via('kavenegar')،
via('ippanel')،
via('payamresan')
via('smsir')
and so on.