Skip to content

Send Branded SMS to any Pakistani Cell number using bizsms.pk API

Notifications You must be signed in to change notification settings

shahidkarimi/bizsms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bizsms.pk SMS Serivice

How to install

To install follow these steps

1- Install composer install shahidkarimi/bizsms

2- Publish vendor php artisan vendor:publish

3- Change config config/bizsms.php with your bizsms.pk credentials

4- Make sure you have valid credentials purchased from https://bizsms.pk

Confgiure

1- Add this to config/app.php BizsmsServiceProvider::class

2- Add this alias bizsms => BizsmsServiceProvider::class

How to use?

1- By Global Function

bizsms::send('0346123456', 'SMS Body');

2- By adding SmsNotifiable Trait to User.php

The easiest way to send sms to a user is just using the SmsNotifiable Trait in user user class as

class User extends Authenticatable
{
    use SmsNotifiable;
}

Sending SMS $user->notifyBySms("Hello sir");

Want to contribute?

You are free to contribute in this reposity.

About

Send Branded SMS to any Pakistani Cell number using bizsms.pk API

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages