Download the PHP package davidpella/beem-sms-laravel without Composer
On this page you can find all versions of the php package davidpella/beem-sms-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davidpella/beem-sms-laravel
More information about davidpella/beem-sms-laravel
Files in davidpella/beem-sms-laravel
Package beem-sms-laravel
Short Description Provides Beem notification channel for Laravel
License MIT
Homepage https://github.com/davidpella/beem-sms-laravel
Informations about the package beem-sms-laravel
Beem SMS notifications channel for Laravel
This package makes it easy to send Beem SMS notifications with Laravel 8.x
Sending an SMS to a user becomes as simple as using:
Or on-demand notifications
Installation
You can install the package via composer:
Configuration
Add your Beem Account api_key, api_secret, and source_address to your .env:
Advanced configuration
Run to public configuration file config
directory
Usage
Now you can use the channel in your via() method inside the notification:
In order to let your Notification know which phone are you sending to, the channel will look for the phone
attribute of the Notifiable model.
If you want to override this behaviour, add the routeNotificationForBeemSms
method to your Notifiable model.
Or
Available message methods
To use the Beem Sms Client Library you can use the facade:
Or request the instance from the service container
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
All versions of beem-sms-laravel with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^7.3
illuminate/support Version ^8.50