Download the PHP package wearesho-team/message-delivery without Composer
On this page you can find all versions of the php package wearesho-team/message-delivery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wearesho-team/message-delivery
More information about wearesho-team/message-delivery
Files in wearesho-team/message-delivery
Download wearesho-team/message-delivery
More information about wearesho-team/message-delivery
Files in wearesho-team/message-delivery
Vendor wearesho-team
Package message-delivery
Short Description Message Delivery Interfaces
License MIT
Package message-delivery
Short Description Message Delivery Interfaces
License MIT
Please rate this library. Is it a good library?
Informations about the package message-delivery
Message Delivery
This repository includes standard interfaces and implementations for simple message sending.
Installation
Contents
Interfaces
- Exception - exception that will be thrown by ServiceInterface if message can not be sent.
- MessageInterface - message entity that includes
recipient
andtext
fields. Can be extended with additional fields. - RepositoryInterface - messages repository. Stores history of message sending. Can be used as dependency in ServiceInterface implementations.
- ContainsSenderName - interface than extend Message with sender name getter
- CheckBalance - contain declaration of method
balance
for service for checking balance. Return Balance that containamount
andcurrency
.
Implementations
- MessageTrait - traits with getters for MessageInterface fields.
- SenderNameTrait - trait with getters for ContainsSenderName interface
- Message and uses SenderNameTrait
- Message - entity, that uses MessageTrait.
- ServiceInterface implementation. Created for test purposes.
- RepositoryInterface implementation that allows to store history in memory. Created for test purposes.
- RepositoryInterface implementation.
- BalanceInterface
Example
Integrations
- wearesho-team/yii2-message-delivery - Delivery\RepositoryInterface implementation, Delivery\ServiceInterface implementation using async queue
- wearesho-team/alphasms-message-delivery - AlphaSMS integration
- wearesho-team/telegram-message-delivery - Telegram bot integration implemented in irazasyed/telegram-bot-sdk
Authors
- Alexander
Letnikow
License
MIT
All versions of message-delivery with dependencies
PHP Build Version
Package Version
The package wearesho-team/message-delivery contains the following files
Loading the files please wait ....