Download the PHP package azaharizaman/nexus-messaging without Composer

On this page you can find all versions of the php package azaharizaman/nexus-messaging. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nexus-messaging

Nexus\Messaging

Channel-agnostic, immutable communication record management for Email, SMS, Chat, WhatsApp, and more.

PHP Version [Test Coverage]()


๐Ÿ“ฆ Overview

Nexus\Messaging is a framework-agnostic PHP package that provides atomic, stateless management of communication records across multiple channels (Email, SMS, WhatsApp, iMessage, Phone Calls, etc.). It separates the WHAT (immutable record of conversation) from the HOW (protocol-specific sending logic), making it a reusable, protocol-agnostic foundation for any communication system.

Key Principles


๐ŸŽฏ Use Cases


๐Ÿš€ Installation


โœจ Features

Level 1 (MVP)

Level 2 (Professional)

Level 3 (Enterprise)


๐Ÿ“– Quick Start

1. Implement Repository Interface

2. Implement Connector Interface

3. Send Outbound Message

4. Process Inbound Webhook

5. Build Conversation Timeline


๐Ÿ—๏ธ Architecture

Value Objects

Enums

Contracts

Services


๐Ÿ”Œ Supported Channels & Providers

The package is protocol-agnostic. The application layer implements connectors for specific providers:

Channel Example Providers Implementation
Email SendGrid, Postmark, AWS SES, SMTP Via MessagingConnectorInterface
SMS Twilio, Nexmo, AWS SNS Via MessagingConnectorInterface
WhatsApp Twilio WhatsApp API, Meta Business API Via MessagingConnectorInterface
iMessage Apple Business Chat Via MessagingConnectorInterface
Phone Call Twilio Voice, SIP Log call notes as messages
Chat Slack, Discord, MS Teams Via MessagingConnectorInterface
Webhook Custom HTTP webhooks Generic webhook handler
Internal Note Internal system notes No external provider

๐Ÿ“Š Protocol Abstraction Pattern

Key Insight: The package defines Channel::WhatsApp without knowing what WhatsApp is. The connector implementation knows the Twilio-specific API details.


๐Ÿ” Compliance & Security

PII Handling (L3.2)

Application layer can:

Encryption Neutrality (L3.7)

The package NEVER encrypts data itself. Encryption is the application layer's responsibility:

Archival Policies (L3.6)


โšก High-Volume Optimization

Rate Limiting (L3.1)

Optimized Timeline Loading (L3.4)


๐Ÿงช Testing

Example test:


๐Ÿ“š Available Interfaces

MessagingRepositoryInterface

MessagingConnectorInterface

RateLimiterInterface (Optional)

MessageTemplateEngineInterface (Optional)


๐Ÿ”— Integration with Other Nexus Packages

Package Integration Point Usage
Nexus\Party senderPartyId, recipientPartyId Link messages to Party entities
Nexus\AuditLogger Optional $auditLogger callback Log "message_sent", "message_received" events
Nexus\Connector Application layer uses it External API integration
Nexus\Tenant tenantId field Multi-tenant isolation
Nexus\Telemetry Optional TelemetryTrackerInterface Track message metrics
Nexus\SSO User attribution senderPartyId from authenticated user

๐ŸŽ“ Best Practices

  1. Always use ULIDs for message IDs - Sortable, globally unique
  2. Set containsPII flag - When messages contain sensitive data
  3. Implement rate limiting - For production environments
  4. Use optimized queries - findLatestByEntity() for UI timelines
  5. Validate provider responses - In connector implementations
  6. Log delivery failures - For debugging and monitoring
  7. Test webhook parsers - Validate all provider webhook formats

๐Ÿ“– Documentation


๐Ÿค Contributing

This package follows strict Nexus architectural guidelines:


๐Ÿ“„ License

MIT License. See LICENSE for details.


๐Ÿ™ Credits

Developed by the Nexus Development Team as part of the Nexus ERP ecosystem.

Package Status: โœ… Production Ready
Version: 1.0.0
Last Updated: November 24, 2025

๐Ÿ“– Documentation

Package Documentation

Additional Resources


All versions of nexus-messaging with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package azaharizaman/nexus-messaging contains the following files

Loading the files please wait ...