Download the PHP package noerd/communication without Composer
On this page you can find all versions of the php package noerd/communication. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download noerd/communication
More information about noerd/communication
Files in noerd/communication
Package communication
Short Description Communication module for noerd platform — central email sending and communications log
License proprietary
Informations about the package communication
Communication Module
Central email sending and communications log for the noerd platform.
Purpose
- Single entry point for sending application emails across all modules
- Persistent log of every email in the
communicationstable - Replaces the legacy
mail_logstable (data migrated automatically)
Usage
to: accepts an email, a list of emails, or any Eloquent model carrying an email
attribute.
Two independent record links
Every communication can reference two records polymorphically, and they are independent of each other:
| Columns | Relation | Meaning |
|---|---|---|
model_type / model_id |
model() |
The source record the mail was generated from |
contact_type / contact_id |
contact() |
The record the mail concerns |
An order confirmation therefore links the order as model and the ordering party as
contact. When to: is itself a model and no contact: is given, that model becomes the
contact. The tenant is derived from the contact's tenant_id unless tenantSettings
supplies one.
The module depends on no domain implementation: both links accept any Eloquent model, and neither column carries a foreign key.
Installation
noerd:install-communication copies the YAML configs into app-configs/communication/, registers
the tenant app and runs the module migrations (confirmation prompt).
Run php artisan noerd:update-communication after upgrading the package (idempotent, also covered
by noerd:update-all).
All versions of communication with dependencies
noerd/noerd Version ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0 || ^0.16.0