Download the PHP package enniel/laravel-epochta-notification-channel without Composer
On this page you can find all versions of the php package enniel/laravel-epochta-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download enniel/laravel-epochta-notification-channel
More information about enniel/laravel-epochta-notification-channel
Files in enniel/laravel-epochta-notification-channel
Package laravel-epochta-notification-channel
Short Description Epochta Notification Driver
License MIT
Homepage https://github.com/enniel/laravel-epochta-notification-channel
Informations about the package laravel-epochta-notification-channel
Epochta notification channel for Laravel 5.3
This package makes it easy to send notifications using Epochta aka Atompark with Laravel 5.3.
Contents
- Installation
- Setting up the configuration
- Usage
- Available Message methods
- Testing
- Credits
- License
Installation
You can install this package via composer:
Next add the service provider to your config/app.php
:
Setting up the configuration
Add your private and public keys to your config/services.php
:
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone number you are targeting, add the routeNotificationForEpochta
method to your Notifiable model.
Available message methods
from()
: The identity of the sender.text()
: The text of the message.to()
: Recipient's phone number.at()
: Sending a message at a specified time.life()
: Life time SMS (0 = maximum, 1, 6, 12, 24 hours).type()
: For Russia it is possible to specify the type of distribution type parameter.
Testing
Credits
- Evgeni Razumov
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-epochta-notification-channel with dependencies
enniel/epochta Version ~0.0.1
illuminate/notifications Version ~5.1
illuminate/support Version ~5.1
psr/http-message Version ~1.0.1