towa-digital/laravel-websms

A simple package to send sms messages using the websms.com apiii.

1.0.6 2021-04-02 12:04 UTC

This package is auto-updated.

Last update: 2024-10-14 20:37:50 UTC


README

Please note that WhatsApp messages are currently not supported.

Usage

Step 1

Install the package

composer require pro-sales/laravel-websms

Step 2

Publish the config file

php artisan vendor:publish --provider="ProSales\WebSms\WebSmsServiceProvider"

Don't forget to update the access token in the config!

Step 3

Send your first message:

WebSms::smsMessage()
        ->to("+41791234567")
        ->text("Hallo von Laravel")
        ->send();