mhrezaei/asanak-sms

Asanak Sms Sender Package

1.0.0 2017-04-05 11:47 UTC

This package is not auto-updated.

Last update: 2024-10-13 02:28:02 UTC


README

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');