Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.
/ smsir Public archive

✅ Official Sms.ir Laravel Package. With Logger & Admin Panel for Sent Messages logs.

License

Notifications You must be signed in to change notification settings

TrueMoein/smsir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 30, 2018
94cd38c · Jun 30, 2018

History

67 Commits
Jun 30, 2018
Sep 3, 2017
Jul 13, 2017
Nov 20, 2017
Jun 2, 2018
Jul 14, 2017

Repository files navigation

Official Laravel Package for sms.ir

Latest Stable Version Total Downloads Monthly Downloads License FOSSA Status

آموزش فارسی نصب و استفاده از پیکیج ارسال پیامک لاراول

Hi, if you have an account in sms.ir, you can use this package for laravel


How to install:

composer require phplusir/smsir
php artisan vendor:publish

Setup:

add this line to your app.php providers: phplusir\smsir\SmsirServiceProvider::class,

and add this line to your app.php aliases: 'Smsir' => phplusir\smsir\SmsirFacade::class,

After publish the package files you must open smsir.php in config folder and set the api-key, secret-key and your sms line number.

Like this:

'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-API-KEY=your api-key

SMSIR-SECRET-KEY=your secret-key

SMSIR-LINE-NUMBER=1000465******

Methods:

Coming Soon

License

FOSSA Status