Download the PHP package mastani/laravel-sorna-sms without Composer
On this page you can find all versions of the php package mastani/laravel-sorna-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mastani/laravel-sorna-sms
More information about mastani/laravel-sorna-sms
Files in mastani/laravel-sorna-sms
Download mastani/laravel-sorna-sms
More information about mastani/laravel-sorna-sms
Files in mastani/laravel-sorna-sms
Vendor mastani
Package laravel-sorna-sms
Short Description Sorna SMS laravel integration
License MIT
Homepage https://github.com/mastani/laravel-sorna-sms
Package laravel-sorna-sms
Short Description Sorna SMS laravel integration
License MIT
Homepage https://github.com/mastani/laravel-sorna-sms
Please rate this library. Is it a good library?
Informations about the package laravel-sorna-sms
Sorna SMS Laravel package
Only available for sornasms.net users
Sorna SMS laravel client
Installation in Laravel 5.5 and up
Run the command below to publish the package config file config/sornasms.php
:
The package will automatically register itself.
Installation in Laravel 5.4
Next up, the service provider must be registered:
Usage
Function
Function | Description |
---|---|
getSystemCredit() | Get account credit. |
sendSMS(mobile, message) | Send single SMS. |
sendSMS([mobiles], [messages]) | Send multiple SMS. |
sendSMS021(mobile, message) | Send single SMS with 021 line (if you owned one). |
sendSMS021([mobiles], [messages]) | Send multiple SMS with 021 line (if you owned one). |
sendSMSBlacklist(mobile, message) | Send single SMS with blacklist module. |
sendSMSBlacklist([mobiles], [messages]) | Send multiple SMS with blacklist module. |
Error messages
Error | Description |
---|---|
-99 | اتمام زمان مجاز جهت ارسال پیامک |
-100 | Reference id مورد نظر یافت نشد. |
-101 | احراز کاربر موفقیت آمیز نبود. |
-102 | نام کاربری یافت نشد. |
-103 | شماره کاربری اشتباه یا در بین بازه شماره های کاربر نیست. |
-104 | اعتبار کاربر کم است. |
-105 | فرمت درخواست اشتباه است. |
-106 | تعداد Reference id ها بیش از 1000 عدد است. |
-107 | شماره گیرنده پیام اشتباه است. |
-108 | شماره گیرنده پیام اشتباه است. |
-98 | شماره گیرنده در لیست سیاه مخابرات قرار دارد. |
-111 | شماره گیرنده در لیست سیاه مخابرات قرار دارد. |
-112 | شماره لیست سیاه یافت نشد. |
-115 | برنامه ارسالی در حال اجرا میباشد. امکان ارسال همزمان وجود ندارد. |
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sorna-sms with dependencies
PHP Build Version
Package Version
Requires
illuminate/contracts Version
5.*
illuminate/support Version 5.*
econea/nusoap Version ~0.9.5.1
illuminate/support Version 5.*
econea/nusoap Version ~0.9.5.1
The package mastani/laravel-sorna-sms contains the following files
Loading the files please wait ....