定制 azaharizaman/nexus-manufacturing-operations 二次开发

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

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

azaharizaman/nexus-manufacturing-operations

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

Composer 安装命令:

composer require azaharizaman/nexus-manufacturing-operations

包简介

Production-ready orchestrator for manufacturing operations - coordinates production lifecycles, BOM reconciliation, costing, quality control, and work center management across multiple user groups

README 文档

README

Production-ready orchestrator for manufacturing operations. Coordinates production lifecycles, BOM reconciliation, costing, quality control, and work center management.

Features

  • Production Planning: Create planned orders with BOM validation and cost estimation.
  • Order Release: Automatic stock availability checks and reservation.
  • Production Execution: Track progress and consume materials.
  • Quality Integration: Enforce quality inspections before completion.
  • Completion & Costing: Receive finished goods and record actual costs.

Architecture

This package follows the Nexus Architecture Layer 2 (Orchestrator) pattern. It defines its own required interfaces (Providers) in src/Contracts/Providers/.

Interfaces

  • ManufacturingProviderInterface: Work Order and Operation management.
  • BomProviderInterface: BOM explosion and validation.
  • InventoryProviderInterface: Stock checks, reservations, issues, and receipts.
  • QualityProviderInterface: Inspection management and compliance.
  • CostingProviderInterface: Cost estimation and recording (material, labor, overhead).

Usage

use Nexus\ManufacturingOperations\Services\ManufacturingOrchestrator;
use Nexus\ManufacturingOperations\DTOs\ProductionOrderRequest;

// 1. Plan Production
$request = new ProductionOrderRequest(
    productId: 'P-100',
    quantity: 50.0,
    dueDate: new \DateTimeImmutable('+2 weeks')
);
$order = $orchestrator->planProduction($tenantId, $request);

// 2. Release Order (Reserves Stock)
$releasedOrder = $orchestrator->releaseOrder($tenantId, $order->id);

// 3. Complete Order (Check Quality, Issue Stock, Receive Goods)
$completedOrder = $orchestrator->completeOrder($tenantId, $releasedOrder->id);

Testing

Run tests from the project root:

vendor/bin/phpunit orchestrators/ManufacturingOperations/tests

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固