noerd/communication
Larablocks Analysis
noerd/communication works with Laravel 12 and 13 (latest release v0.6.1, Nov 14, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Nov 14, 2026)
- 281 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Nov 14, 2026.
- 38 releases in the last 12 months.
- First released: May 27, 2026.
- Monthly downloads: 281.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.
| Install | |
|---|---|
composer require noerd/communication |
|
| Latest Version: | v0.6.1 |
| Laravel: | 12 · 13 |
| License: | proprietary |
| Last Updated: | Nov 14, 2026 |
| Links: | GitHub · Packagist |
Communication Module
Central email and text message (SMS, WhatsApp) 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
use Noerd\Communication\Services\Communicator;
app(Communicator::class)->send(
mailable: new OrderConfirmationMail($order),
to: $order->email,
contact: $order->party, // the record the mail concerns
model: $order, // the record it was generated from
);
to: accepts an email, a list of emails, or any Eloquent model carrying an email
attribute.
Text messages (SMS, WhatsApp)
app(Communicator::class)->sendText(
type: CommunicationType::WhatsApp,
to: $settings->whatsapp_number, // any notation, or a model with a `phone` attribute
body: __('New order from :name', ['name' => $customer->name]),
template: 'liefertool.order_placed', // a driver may map it to an approved provider template
variables: ['1' => $customer->name],
model: $order,
queue: true,
);
The module ships no provider: a separate provider module registers a
TextMessageDriver per channel on the TextMessageChannelRegistry. Without one, sendText()
returns null. Every accepted message is recorded in communication_usages for invoicing; the
retention command never deletes these rows.
Delivery status
A provider module reports what happened to a sent message through
Communicator::updateTextStatus($messageId, CommunicationStatus::Delivered|Read|Failed, $reason).
A report never moves a message back, so out-of-order callbacks are harmless.
Replies
A provider module's webhook passes every incoming message to receiveText():
app(Communicator::class)->receiveText(
type: CommunicationType::Sms,
from: $request->input('From'),
to: $request->input('To'),
body: (string) $request->input('Body'),
messageId: $request->input('MessageSid'),
provider: 'twilio',
);
The reply is logged as an inbound row in the tenant of the latest outbound message to the
sender's number, with that message's contact and model and in_reply_to_id pointing at it;
then Events\TextMessageReceived fires inside that tenant's context. A sender nobody wrote to is
logged without a tenant. A message id that was logged already is not logged again.
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
composer require noerd/communication
php artisan noerd:install-communication
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).
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| v0.6.1 | ^12.0 || | proprietary | |
| v0.6.0 | ^12.0 || | proprietary | |
| v0.5.2 | ^12.0 || | proprietary | |
| v0.5.1 | ^12.0 || | proprietary | |
| v0.5.0 | ^12.0 || | proprietary | |
| v0.4.12 | ^12.0 || | proprietary | |
| v0.4.11 | ^12.0 || | proprietary | |
| v0.4.10 | ^12.0 || | proprietary | |
| v0.4.9 | ^12.0 || | proprietary | |
| v0.4.8 | ^12.0 || | proprietary | |
| v0.4.7 | ^12.0 || | proprietary | |
| v0.4.6 | ^12.0 || | proprietary | |
| v0.4.5 | ^12.0 || | proprietary | |
| v0.4.4 | ^12.0 || | proprietary | |
| v0.4.3 | ^12.0 || | proprietary | |
| v0.4.2 | ^12.0 || | proprietary | |
| v0.4.1 | ^12.0 || | proprietary | |
| v0.4.0 | ^12.0 || | proprietary | |
| v0.3.11 | ^12.0 || | proprietary | |
| v0.3.10 | ^12.0 || | proprietary | |
| v0.3.9 | ^12.0 || | proprietary | |
| v0.3.8 | ^13.0 | proprietary | |
| v0.3.7 | ^13.0 | proprietary | |
| v0.3.6 | proprietary | ||
| v0.3.5 | proprietary | ||
| v0.3.4 | proprietary | ||
| v0.3.3 | proprietary | ||
| v0.3.1 | proprietary | ||
| v0.3.0 | proprietary | ||
| v0.2.0 | proprietary |
Showing the latest 30 of 38. See every release on Packagist