zestic/communication-component

Communication component for Laminas using Symfony Messenger and Notifier

v1.6.3 2024-11-07 02:30 UTC

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

📚 Complete Documentation

Requirements

  • PHP 8.1+
  • Composer
  • Database (PostgreSQL recommended)

License

MIT License