maree/sms

collect alot of sms service providers

dev-main 2022-03-31 13:45 UTC

This package is auto-updated.

Last update: 2024-09-29 05:50:08 UTC


README

Installation

You can install the package via Composer.

composer require maree/sms

Publish your sms config file with

php artisan vendor:publish --provider="maree\sms\SMSServiceProvider" --tag="sms"

then change your sms config from config/sms.php file

    "service_provider" => "", // yamamah|4jawaly|hisms|msegat|oursms|unifonic|zain
    "user_name"        => "", 
    "password"         => "",
    "sender_name"      => "",

Usage

use maree\sms\SMS;

SMS::send($phone='0020*********', $msg='sms sent successfuly');  

prefer to use jobs in sending many sms

current sms service providers :

  • yamamah
  • 4jawaly
  • hisms
  • msegat
  • oursms
  • unifonic
  • zain