phplusir/smsir

This package is abandoned and no longer maintained. No replacement package was suggested.

Official Sms.ir Laravel Package

v2.4.0 2018-06-23 04:26 UTC

This package is not auto-updated.

Last update: 2020-10-28 21:43:22 UTC


README

68747470733a2f2f7777772e736d732e69722f77702d636f6e74656e742f7468656d65732f736d732e69722f6173736574732f696d672f66696e616c2d736d732d6c6f676f2e706e67

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