mehrand / sms_panel
The Imagine integration for the Yii framework
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/mehrand/sms_panel
This package is auto-updated.
Last update: 2026-01-27 21:53:11 UTC
README
This repo has been added for used for NikSms and ArianTel webservice.
Installation
If you want you can simply write your own driver and attach it to this library.
And if you want you can publish it in this library by your own name.
If you want create your own driver please flow below steps:
- Create your class and use psr-7 namespcae.
- Extend your class from
MehranDashti\sms\abstracts\SmsHelper - Implement your codes.
- Attach your driver to library as described before
- Publish your code in
driverslibrary
List of drivers
List of driver that published and avilable right now.
| Driver name | namespace | createdBy |
|---|---|---|
| Niksms | \MehranDashti\sms\drivers\NikSmsPanel | Mehran Dashti |
| ArianTel | \MehranDashti\sms\drivers\ArianTel | Mehran Dashti |
config for NikSMS
| parameters | type | description |
|---|---|---|
| username | string | username for auth |
| password | string | password for auth |
| ref_number | string | sender number |
extra config for NikSms
| parameters | type | description |
|---|---|---|
| send_on | string | |
| send_type | string | |
| message_ids | string |
Login Data for ArianTel
| parameters | type | description |
|---|---|---|
| username | string | username for auth |
| password | string | password for auth |
| ref_number | string | sender number |
extra config for NikSms
| parameters | type | description |
|---|---|---|
| udh | boolean | |
| is_flash | string | |
| rec_id | array | |
| status | array |
Be aware use of this library and its driver is alowed for all but you should keep recources and authors names.
Help us to improve
If you create your own driver we become so happy if you pulblish it in our library.
#Sms_panel