Download the PHP package fomvasss/laravel-notification-channel-sendberry without Composer
On this page you can find all versions of the php package fomvasss/laravel-notification-channel-sendberry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fomvasss/laravel-notification-channel-sendberry
More information about fomvasss/laravel-notification-channel-sendberry
Files in fomvasss/laravel-notification-channel-sendberry
Package laravel-notification-channel-sendberry
Short Description This package makes it easy to send notifications using [sendberry.com](https://sendberry.com) with Laravel 9.0+
License MIT
Homepage https://github.com/fomvasss/laravel-notification-channel-sendberry
Informations about the package laravel-notification-channel-sendberry
Sendberry notifications channel for Laravel 9.0+
Here's the latest documentation on Laravel's Notifications System:
https://laravel.com/docs/master/notifications
This package makes it easy to send notifications using sendberry.com with Laravel 9.0+.
Contents
- Installation
- Setting up
- Usage
- Available Message methods
- Changelog
- Security
- Contributing
- Credits
- License
Installation
Install this package with Composer:
The service provider gets loaded automatically. Or you can do this manually:
Setting up
Add your Sendberry token, default sender name (or phone number), test mode to your config/services.php
:
Usage
You can use the channel in your via()
method inside the notification:
In your notifiable model, make sure to include a routeNotificationForSendberry()
method, which returns a phone number
or an array of phone numbers.
Available methods
from()
: Sets the sender's name or phone number, for test use "Info SMS".
content()
: Set a content of the notification message.
date()
: Example argument = 12.05.2020
time()
: Example argument = 13:00
test()
: Test SMS sending
Changelog
Please see CHANGELOG for more information what has changed recently.
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
- fomvasss
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-notification-channel-sendberry with dependencies
illuminate/notifications Version ^9|^10
illuminate/support Version ^9|^10