zestic/communication-component
最新稳定版本:v2.0.0-alpha.1
Composer 安装命令:
composer require zestic/communication-component
包简介
Communication component for Laminas using Symfony Messenger and Notifier
README 文档
README
A flexible communication component that sends communications of any variety (email, SMS, chat) based on user preferences. Built on Symfony Notifier and Symfony Messenger.
Features
- Multi-channel Support: Email, SMS, and chat communications
- Asynchronous Processing: Symfony Messenger integration for background processing
- Template Management: Database-stored templates with Twig support
- Failure Handling: Built-in retry mechanisms for failed messages
- Database Migrations: Phinx integration for schema management
Quick Start
# Install dependencies composer install # Set up configuration cp config/communication.global.php.dist config/communication.global.php # Configure environment variables cp .env.example .env # Run migrations bin/migrate # Test email delivery vendor/bin/laminas communication:send-test-email your-email@example.com
Documentation
- Getting Started - Setup and basic configuration
- Communication Definitions - Structure different communication types
- Messenger Integration - Asynchronous processing
- Database Migrations - Schema management with Phinx
- Twig Database Loader - Dynamic template management
- Handling Failures - Manage failed messages
- Continuous Integration - CI/CD setup
Requirements
- PHP 8.1+
- Composer
- Database (PostgreSQL recommended)
License
MIT License
统计信息
- 总下载量: 1.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-04