Download the PHP package helliomessaging/helliomessaging-laravel-notification-channel without Composer
On this page you can find all versions of the php package helliomessaging/helliomessaging-laravel-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download helliomessaging/helliomessaging-laravel-notification-channel
More information about helliomessaging/helliomessaging-laravel-notification-channel
Files in helliomessaging/helliomessaging-laravel-notification-channel
Package helliomessaging-laravel-notification-channel
Short Description Helliomessaging Notification Channel for Laravel 5.3+
License MIT
Informations about the package helliomessaging-laravel-notification-channel
Hellio Messaging Laravel Notification Channel
This package makes it easy to send notifications using Hellio Messaging
Content
- Installation
- Setting up the Hellio Messaging Service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
To get the latest version of Hellio Messaging Notification channel is intended for Laravel 5.5 and up, simply require the project using Composer:
If you use Laravel 5.5+ you don't need the following step.
If not, once package is installed, you need to register the service provider. Open up config/app.php
and add the following to the providers
key.
NotificationChannels\Hellio\HellioServiceProvider::class
Setting up the Hellio Messaging Service
First, you must have an account with Hellio. Once you've registered for an account, login into your account and click on the Profile & API Integration menu on your Hellio Messaging dashboard. Click on the API Keys & Webhooks tab and copy your Client ID
and Application Secret
In your terminal run
This creates a hellio.php
file in your config
directory.
Paste your api keys in the config/hellio.php
configuration file. You may copy the example configuration below to get started:
Or
Add the HELLIO_CLIENT_ID
and HELLIO_APP_SECRET
to your .env
file
Usage
Now you can use the channel in your via()
method in any notification you want to send using Hellio Messaging:
In order to let your Notification know which phone number you are sending to, add the routeNotificationForHellioSMS
method to your Notifiable model e.g your User Model
Available Message methods
from($from)
: set the sender's idsenderID($id)
: an alias forfrom($from)
to($to)
: set the recipient's phone numbermsisdn($msisdn)
: an alias forto($to)
messageType($messageType)
: an alias fortype($type)
content($content)
: set the message contentmessage($message)
: an alias forcontent($content)
Read more about the available methods on the Hellio Messaging Documentation Portal
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
- Norris Oduro Tei
- Abdul Kudus
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of helliomessaging-laravel-notification-channel with dependencies
guzzlehttp/guzzle Version ^7.2
illuminate/notifications Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0