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
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-04