prosperoking/laravel-quick-sms

A simple quicksms sender for Laravel

dev-master 2022-05-25 22:16 UTC

This package is auto-updated.

Last update: 2024-04-26 02:33:59 UTC


README

A laravel package to add smslive and other sms provider quick messages

Installation composer require prosperoking/laravel-quick-sms

publish configuration php artisan vendor:publish --provider="Prosperoking\LaravalSMS\QuickSMSServiceProvider" --tag=config

Currently only smslive247 is supported more options will be added soon

Usage:

    <?php
        $numbers = ['123456789']; // an array of phone numbers to send message to;
        $message = "Your message";
        $sender = "Sender"; // optional: sender
        
        \Quicksms::sendSms($numbers,$message,$sender);
        
    ?>