Download the PHP package wearesho-team/yii2-message-delivery without Composer
On this page you can find all versions of the php package wearesho-team/yii2-message-delivery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wearesho-team/yii2-message-delivery
More information about wearesho-team/yii2-message-delivery
Files in wearesho-team/yii2-message-delivery
Package yii2-message-delivery
Short Description Message Delivery Yii2 Implementation
License MIT
Informations about the package yii2-message-delivery
Yii2 Message Delivery
This repository includes RepositoryInterface implementation using Yii2 ActiveRecord
Installation
Usage
Configuration
Queue
This package provides optional yii2-queue integration. To use it you have to install yii2-queue package:
Then you may configure your application:
Note: messages sent using Queue\Service have to correct work with serialize() and unserialize(). See yii2-queue for details
Skipping queue while sending message
Sometimes there is need to send message without queue (for example during mass messaging in CLI environment). To skip queue service you need to create message with options (Delivery\MessageOptionsInterface):
SwitchService
You can configure few delivery services, and choose one of them using environment variable.
RepositoryService
You can wrap any your service into RepositoryService, that has repository. If sending message in wrapped service did not throwed any exception message will be stored as sent.
Authors
- Alexander
Letnikow
License
MIT
All versions of yii2-message-delivery with dependencies
horat1us/environment-config Version ^1.2
horat1us/yii2-carbon-behavior Version ^1.2
horat1us/yii2-environment-config Version ^1.1
horat1us/yii2-migration-bootstrap Version ^1.3
horat1us/yii2-validation-exception Version ^1.1
nesbot/carbon Version ^2.24 || ^3
wearesho-team/message-delivery Version ^2.3
yiisoft/yii2 Version ^2.0.47