Download the PHP package azaharizaman/nexus-notifier without Composer

On this page you can find all versions of the php package azaharizaman/nexus-notifier. 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-notifier

Nexus\Notifier

Framework-agnostic notification engine for multi-channel communication.

Purpose

Nexus\Notifier provides a unified, decoupled interface for sending notifications across multiple channels (Email, SMS, Push Notifications, In-App Messages) without coupling your business logic to specific vendors or delivery mechanisms.

Core Philosophy

"Define the message once, deliver everywhere."

This package implements the Channel Agnosticism principle: your business logic triggers notifications without knowing how they're delivered. The consuming application (Atomy) provides the concrete implementations for each channel.

Key Features

Architecture

This package follows Nexus's "Logic in Packages, Implementation in Applications" principle:

Package Structure

Requirements Addressed

This package addresses the following requirements from REQUIREMENTS.csv:

See REQUIREMENTS.csv for complete list.

Installation

This package is part of the Nexus monorepo. To use it in the Atomy application:

Usage

1. Define a Notification

Create a notification class implementing NotificationInterface:

2. Send a Notification

3. Implement Notifiable

Your recipient entity must implement NotifiableInterface:

User Stories Solved

1. System Administrator Story

Problem: Switching SMS vendors requires code changes across multiple packages.

Solution:

2. Package Developer Story

Problem: Implementing notifications requires understanding SMTP, SMS APIs, etc.

Solution:

3. Customer Relations Manager Story

Problem: Need multi-channel confirmation after booking.

Solution: The system automatically sends both email and SMS based on recipient preferences when you call $notifier->send().

Dependencies

This package depends on:

Integration Points

The consuming application (Atomy) must implement:

  1. Channel Handlers: Email, SMS, Push, In-App channel implementations
  2. Repositories: Template, History, Preference repositories with database persistence
  3. Queue System: For asynchronous delivery
  4. Service Provider Bindings: Wire all interfaces to concrete implementations

See docs/NOTIFIER_IMPLEMENTATION.md for complete implementation guide.

Testing

Package tests are unit tests with mocked repositories. Atomy tests are feature tests with database.

License

MIT License - see LICENSE file for details.

Support

Part of the Nexus ERP Monorepo.


All versions of nexus-notifier with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
psr/log Version ^3.0
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-notifier contains the following files

Loading the files please wait ...