Skip to content

Mahmoudalziem/sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔧 package


This Package For Handling Multiable Message Using End Point

 https://gateway.sa/

📦 Install

Via Composer

$ composer require azima/sms

⚡ Configure

Publish the config file

$ php artisan sms:publish

🔥 Usage

In your env file just use it like this. 

GATEWAY_SA_URL=
GATEWAY_SA_USER=
GATEWAY_SA_PASSWORD=
GATEWAY_SA_SENDER_ID=

# On the top of the file.
use Azima\Sms\Facades\Sms;

...

# In your Controller.
Sms::send("this message", function($sms) {
    $sms->to(['Number 1', 'Number 2']); # The numbers to send to.
});
# OR...
Sms::send("this message")->to(['Number 1', 'Number 2'])->dispatch();

About

Laravel SMS Gateway Integration Package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages