Skip to content

mhrezaei/AsanakSms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Asanak Sms Package

Latest Stable Version Total Downloads License


Installation:

Run below statements on your terminal :

STEP 1 :

composer require "mhrezaei/asanak-sms":"1.0.0"

STEP 2 : Add provider and facade in config/app.php

'providers' => [
  ...
  Asanak\Sms\AsanakSmsProvider::class, // <-- add this line at the end of provider array
],


'aliases' => [
  ...
  'AsanakSms' => Asanak\Sms\Facade\AsanakSmsFacade::class, // <-- add this line at the end of aliases array
]

Step 3:

php artisan vendor:publish --tag=AsanakSmsTag --force

Configuration file is placed in config/asanak-sms.php , open it and enter your Asanak webservice config

How to use!:

    AsanakSms::send('mobile_number', 'massage_body');