Download the PHP package lucasgiovanny/laravel-notification-smsdev without Composer
On this page you can find all versions of the php package lucasgiovanny/laravel-notification-smsdev. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lucasgiovanny/laravel-notification-smsdev
More information about lucasgiovanny/laravel-notification-smsdev
Files in lucasgiovanny/laravel-notification-smsdev
Package laravel-notification-smsdev
Short Description Laravel notification package to use SMSDev SMS service.
License MIT
Informations about the package laravel-notification-smsdev
SMSDev notifications channel for Laravel
THIS PROJECT IS NO LONGER BEING MAINTAINED
This package makes it easy to send notifications using SMSDev with Laravel.
Contents
-
Setting up the SMSDev service
-
Available Message methods
-
Changelog
-
Testing
-
Security
-
Contributing
-
Credits
- License
Installation
This package can be installed via composer:
composer require lucasgiovanny/laravel-notification-smsdev
Setting up the SMSDev service
-
Add the API key to the
services.php
config file: - Add you API Key from SMSDev to your
.env
file
Usage
-
First you need to add the function
routeNotificationFor
in theUser
model: - Now, you can use this channel by adding
SmsDevChannel::class
to the array in thevia()
method of your notification class. You need to add thetoSmsdev()
method which should return anew SmsDevMessage()
object.
Available Message methods
-
getPayloadValue($key)
: Returns payload value for a given key. -
content(string $message)
: Sets SMS message text. to(string $number)
: Set manually the recipients number (international format).
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-notification-smsdev with dependencies
guzzlehttp/guzzle Version ~6.0
illuminate/notifications Version ^6.0|^7.0|^8.0
illuminate/support Version ^6.0|^7.0|^8.0