azaharizaman/nexus-supply-chain-operations
Composer 安装命令:
composer require azaharizaman/nexus-supply-chain-operations
包简介
Nexus SupplyChainOperations Orchestrator - Coordinating end-to-end supply chain flows from procurement to fulfillment
README 文档
README
The SupplyChainOperations orchestrator is responsible for coordinating end-to-end business processes that span across Procurement, Inventory, Warehouse, and Sales domains.
🎯 Key Responsibilities
Phase 1: Advanced Operational Flows ✅
- Dropshipping Orchestration (SC-1.1): Automatically create vendor POs when dropship sales orders are confirmed.
- Landed Cost Capitalization (SC-1.2): Bridge freight/tariff invoices to inventory receipts for true COGS accuracy.
Phase 2: Intelligence & Optimization ✅
- Predictive Replenishment (SC-2.1): ML-based dynamic reorder points using demand forecasting.
- Dynamic Lead Time / ATP (SC-2.2): Real-time Available-to-Promise calculations using ProcurementML analytics.
Phase 3: Lifecycle & Logistical Integrity (Planned)
- RMA & Reverse Supply Chain (SC-3.1): End-to-end return lifecycle orchestration.
- Regional Multi-Warehouse Balancing (SC-3.2): Optimize stock distribution across warehouses.
🏗️ Architecture
This package follows the Nexus Three-Layer Architecture:
- Coordinators: Stateless services for synchronous cross-domain orchestration.
- Listeners: Reactive event subscribers that trigger business logic based on domain events.
- Workflows: Stateful Sagas for long-running supply chain processes.
- Value Objects: Immutable data structures (e.g.,
AvailableToPromiseResult).
Framework-Agnostic: This orchestrator contains no framework-specific code. DI registration and event wiring should be done in the adapters/ layer (Layer 3).
📦 Dependencies
Required
Nexus\Inventory: Stock management, demand forecasting.Nexus\Procurement: Purchase orders, vendor management.Nexus\Sales: Sales orders, fulfillment.Nexus\AuditLogger: Cross-domain audit trails.
Optional (for Phase 2 features)
Nexus\ProcurementML: Delivery analytics for ATP calculations.Nexus\Payable: Invoice processing for landed costs.
🚀 Getting Started
Coordinators
DropshipCoordinator - Create dropship purchase orders:
$poId = $dropshipCoordinator->createDropshipPo($salesOrder, $lines, $vendorId);
LandedCostCoordinator - Capitalize costs onto inventory:
$coordinator->distributeLandedCost($grnId, $amount, 'value');
ReplenishmentCoordinator - ML-enhanced replenishment:
// Traditional threshold-based $reqId = $coordinator->createAutoRequisition($tenantId, $warehouseId, $requesterId, $replenishmentMap); // ML-based forecast evaluation $evaluation = $coordinator->evaluateProductWithForecast($tenantId, $productId, $warehouseId);
DynamicLeadTimeCoordinator - Available-to-Promise calculations:
$atpResult = $coordinator->calculateAtpDate($productId, $quantity, $warehouseId, $preferredVendorId); // Returns: promised date, confidence score, lead time breakdown
Event Listeners
Register these listeners in your application's event dispatcher:
DropshipListener- Triggered onSalesOrderConfirmedEventDropshipFulfillmentListener- Triggered onGoodsReceiptCreatedEventLandedCostListener- Triggered onInvoiceApprovedForPaymentEventStockLevelListener- Triggered onStockIssuedEventandStockAdjustedEvent
Dependency Injection
Note: This orchestrator is framework-agnostic. You must register services in your adapters/ layer:
// Example: Laravel ServiceProvider in adapters/ $this->app->singleton(DropshipCoordinator::class); $this->app->singleton(LandedCostCoordinator::class); $this->app->singleton(ReplenishmentCoordinator::class); $this->app->singleton(DynamicLeadTimeCoordinator::class); // Event wiring Event::listen(SalesOrderConfirmedEvent::class, DropshipListener::class); Event::listen(GoodsReceiptCreatedEvent::class, DropshipFulfillmentListener::class);
azaharizaman/nexus-supply-chain-operations 适用场景与选型建议
azaharizaman/nexus-supply-chain-operations 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「fulfillment」 「inventory」 「nexus」 「procurement」 「supply-chain」 「orchestrator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 azaharizaman/nexus-supply-chain-operations 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 azaharizaman/nexus-supply-chain-operations 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 azaharizaman/nexus-supply-chain-operations 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Flexible inventory management for Symfony applications.
Linker Cloud Fulfillment Platform API Client library
Magento 2 Twisto payment gateway
PHP library for interacting with the TradeGecko REST API
Enhance your Magento 2 store with an advanced stock filter in ElasticSuite's layered navigation. This module provides customers with the ability to easily filter products by stock availability, improving the shopping experience and helping them find in-stock items faster.
One package for PHP projects.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 36
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-04