Download the PHP package mirkhamidov/yii2-notifications without Composer
On this page you can find all versions of the php package mirkhamidov/yii2-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mirkhamidov/yii2-notifications
More information about mirkhamidov/yii2-notifications
Files in mirkhamidov/yii2-notifications
Download mirkhamidov/yii2-notifications
More information about mirkhamidov/yii2-notifications
Files in mirkhamidov/yii2-notifications
Vendor mirkhamidov
Package yii2-notifications
Short Description Notifications system
License BSD-3-Clause
Package yii2-notifications
Short Description Notifications system
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package yii2-notifications
TODO
- configure
components
from module - configure
queueNotification
from module - add requirements in composer.json
- slack notifications
- email notifications
Notification providers
Telegram
description see below, in examples
Default Yii2 Mailer
configure in main config file main.php
`
send using view file and view params `
or already rendered/prepared text and other params `
Configuration
in main app config file
Logs to different file
In app config file
Examples
Telegram Send message
More providerParams
look at Telegram SendMessage API
Telegram Message with file
`
file
full path to filefileParams
params to manage with filemessageMergeType
- TelegramProvider::FILE_MESSAGE_MERGE_TYPE_AS_NO_MERGE default send message and file as separate messages
- TelegramProvider::FILE_MESSAGE_MERGE_TYPE_AS_REPLY send file as reply for sent message
fileType
- TelegramProvider::FILE_TYPE_DOCUMENT default Telegram API for more params
- TelegramProvider::FILE_TYPE_PHOTO Telegram API for more params
- TelegramProvider::FILE_TYPE_AUDIO Telegram API for more params
- TelegramProvider::FILE_TYPE_VIDEO Telegram API for more params
To send only file (without message) just set $mgs
to null
All versions of yii2-notifications with dependencies
PHP Build Version
Package Version
The package mirkhamidov/yii2-notifications contains the following files
Loading the files please wait ....