Download the PHP package ayles-software/laravel-sms-messagemedia without Composer
On this page you can find all versions of the php package ayles-software/laravel-sms-messagemedia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ayles-software/laravel-sms-messagemedia
More information about ayles-software/laravel-sms-messagemedia
Files in ayles-software/laravel-sms-messagemedia
Package laravel-sms-messagemedia
Short Description ClickSend Notifications channel for Laravel 10
License MIT
Homepage https://github.com/parkourben99/laravel-sms-clicksend
Informations about the package laravel-sms-messagemedia
MessageMedia sms notifications channel for Laravel 10
This package makes it easy to send notifications using messagemedia.com with Laravel 10.
Installation
Install the package via composer:
When generating an API key in Message Media make sure to use the Basic Authentication type. HMAC Auth is not supported
Add your MessageMedia api key, secret and optional default sender sms_from to your config/services.php
:
Usage
Use MessageMediaChannel in via()
method inside your notification classes. Example:
In notifiable model (User), include method routeNotificationForMessageMedia()
that returns recipient mobile number:
Then send a notification the standard way:
Events
Following events are triggered by Notification. By default:
- Illuminate\Notifications\Events\NotificationSending
- Illuminate\Notifications\Events\NotificationSent
NotificationFailed will trigger if something goes wrong
- Illuminate\Notifications\Events\NotificationFailed
Testing
Yes
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sms-messagemedia with dependencies
illuminate/http Version ^10.0||^11.0
illuminate/events Version ^10.0||^11.0
illuminate/support Version ^10.0||^11.0
illuminate/notifications Version ^10.0||^11.0