Download the PHP package amiraghaee/rahyabsms without Composer
On this page you can find all versions of the php package amiraghaee/rahyabsms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download amiraghaee/rahyabsms
More information about amiraghaee/rahyabsms
Files in amiraghaee/rahyabsms
Download amiraghaee/rahyabsms
More information about amiraghaee/rahyabsms
Files in amiraghaee/rahyabsms
Vendor amiraghaee
Package rahyabsms
Short Description Rahyab Payam Gostaran SMS package for Laravel
License MIT
Package rahyabsms
Short Description Rahyab Payam Gostaran SMS package for Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package rahyabsms
Rahyab Payam Gostaran SMS Package
This package provide simple helpers for sending sms from Rahyab Payam Gostran gateway.
You can download the api gateway document here.
## Table of Contents * [Install](#Install) * [Usage](#Usage) * [Logging](#Logging) * [License](#License) ## Install The easiest way to install is by using Composer: ## Usage To use the package, you need an password, username and shortcode. To get that you should have a [smsonline](https://smsonline.ir/) account. Register and get your authorization details.This is not an official package but there is no other package for this sms gateway!
Copy the following variables to your project .env file and fill the variables with your data. Use rahyabsms on top of your controller or wherever you want: ## send simple sms Then you can simply create an instance of rahyabsms and use send method to send a text message: #### parameters | Parameter | Required | Description | Type | | --- | --- | --- | --- | | number | yes | The number of the receiver of the message | string | | message | yes | Text to be sent | string | | recId | No | assign a ID to check status of delivery | string | ## send sms to several users You can send a text message to several numbers with this method: ## check credit You can check balance of your account with this method: ## check expire You can check expire of your account with this method: ## Logging This package can automatically log sent SMS to the database.
To enable this, you must copy the following variables into your project .env file. Then run following command to create a table at the root of your project:
For accessing to the model use following namespace: #### example: ## License Freely distributable under the terms of the [MIT](https://opensource.org/licenses/MIT) license.
All versions of rahyabsms with dependencies
PHP Build Version
Package Version
The package amiraghaee/rahyabsms contains the following files
Loading the files please wait ....