Download the PHP package reza_adibi/smsirlaravel without Composer
On this page you can find all versions of the php package reza_adibi/smsirlaravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download reza_adibi/smsirlaravel
More information about reza_adibi/smsirlaravel
Files in reza_adibi/smsirlaravel
Package smsirlaravel
Short Description Official Sms.ir Laravel Package
License MIT
Informations about the package smsirlaravel
Official Laravel Package for sms.ir
آموزش فارسی نصب و استفاده از پکیج ارسال پیامک لاراول
Hi, if you have an account in sms.ir, you can use this package for laravel
How to install:
composer require ipecompany/smsirlaravel
php artisan vendor:publish
php artisan migrate
Setup:
add this line to your app.php providers: ipecompany\smsirlaravel\SmsirlaravelServiceProvider::class,
and add this line to your app.php aliases: 'Smsirlaravel' => ipecompany\smsirlaravel\SmsirlaravelFacade::class,
After publish the package files you must open smsirlaravel.php in config folder and set the api-key, secret-key and your sms line number.
Like this:
'webservice-url' => env('SMSIR-WEBSERVICE-URL','https://ws.sms.ir/'),
'api-key' => env('SMSIR-API-KEY','Your sms.ir api key'),
'secret-key' => env('SMSIR-SECRET-KEY','Your sms.ir secret key'),
'line-number' => env('SMSIR-LINE-NUMBER','Your sms.ir line number'
Note:
you can set the keys and line number in your .env file
like this:
SMSIR-WEBSERVICE-URL=https://ws.sms.ir/
SMSIR-API-KEY=your api-key
SMSIR-SECRET-KEY=your secret-key
SMSIR-LINE-NUMBER=1000465**
Methods:
Smsirlaravel::send()
Smsirlaravel::credit()
Smsirlaravel::getLines()
Smsirlaravel::addToCustomerClub()
Smsirlaravel::deleteContact();
Smsirlaravel::sendToCustomerClub();
Smsirlaravel::addContactAndSend();
Smsirlaravel::sendVerification();
Smsirlaravel::ultraFastSend();
Smsirlaravel::getSentMessages();
Smsirlaravel::getReceivedMessages();
All versions of smsirlaravel with dependencies
zendframework/zend-diactoros Version 1.*.*
symfony/psr-http-message-bridge Version 2.0.*