定制 azaharizaman/nexus-loyalty 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

azaharizaman/nexus-loyalty

最新稳定版本:v0.1.0-alpha1

Composer 安装命令:

composer require azaharizaman/nexus-loyalty

包简介

Framework-agnostic loyalty point and tier management engine

README 文档

README

Framework-agnostic loyalty point and tier management engine for the Nexus ERP ecosystem.

Overview

The Nexus\Loyalty package provides a highly granular, atomic loyalty engine designed to manage member point balances, tier qualifications, and redemption constraints. It is built as a Layer 1 package, meaning it contains pure business logic with no framework dependencies.

Core Principles

  1. Framework-Agnostic: Pure PHP 8.3 with no dependencies on Laravel or Symfony.
  2. Stateless Design: All persistence is handled via externalized repository interfaces.
  3. Strict Immutability: All Value Objects and core services follow strict immutability patterns.
  4. Multi-Tenancy Ready: Designed to work within the Nexus multi-tenant ecosystem.

Features

  • Point Accrual Engine: Precise point calculation with rounding strategies and multi-factor multipliers.
  • Tier Management: Flexible tier qualification using rolling activity windows and retention logic.
  • Redemption & Validation: Rule-based redemption with minimum thresholds and FIFO expiry prioritization.
  • Point Integrity: Audit-ready adjustment logging and idempotency support.
  • Coalition Support: Multi-brand point sharing and brand-specific balance tracking.

Architecture

  • Layer 1 (Atomic Package): Contains pure domain logic, entities, and value objects.
  • Namespace: Nexus\Loyalty
  • Purity: No use Illuminate\* or framework-specific imports allowed.

Usage

(Examples to be added as implementation progresses)

Installation

composer require azaharizaman/nexus-loyalty

License

MIT License - see LICENSE file for details.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固