Skip to content

Laravel driver based package to work with sms providers and send messages

License

Notifications You must be signed in to change notification settings

omalizadeh/laravel-sms

Repository files navigation

Laravel SMS Package

This is a laravel sms package with multi driver support. Supports laravel v8.0+ and requires php v7.4+

Star! ⭐ if you used and liked this package.

Supported SMS Providers

Installation & Configuration

Install using composer

  composer require omalizadeh/laravel-sms

Publish config file

  php artisan vendor:publish --provider=Omalizadeh\Sms\Providers\SmsServiceProvider

Usage

Single message:

    // On top...
    use Omalizadeh\Sms\Facades\Sms;

    ////

    Sms::send('09123456789', 'message');

Template message:

    // On top...
    use Omalizadeh\Sms\Facades\Sms;

    ////

    Sms::sendTemplate('09123456789', 'template_name', [
        'token' => 'code',
    ]);

About

Laravel driver based package to work with sms providers and send messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages