azaharizaman / nexus-approval-operations
Nexus ApprovalOperations — Layer 2 orchestration for operational approvals (Workflow, PolicyEngine, tenant-scoped ports)
Package info
github.com/azaharizaman/nexus-approval-operations
pkg:composer/azaharizaman/nexus-approval-operations
v0.1.0-alpha1
2026-05-05 02:28 UTC
Requires
- php: ^8.3
- azaharizaman/nexus-common: dev-main
- azaharizaman/nexus-policy-engine: dev-main
- azaharizaman/nexus-workflow: dev-main
- psr/log: ^3.0
Requires (Dev)
- phpunit/phpunit: ^11.0
This package is auto-updated.
Last update: 2026-05-05 03:27:16 UTC
README
Layer 2 orchestrator for operational approvals: template resolution, composition with Nexus\Workflow and Nexus\PolicyEngine, CQRS-style persistence ports, and tenant-scoped behavior.
Scope
- In scope: Generic approval instances, policy routing, Workflow-driven tasks/strategies, audit-oriented commands.
- Out of scope: RFQ quote approval product flows (sourcing domain); framework code (
Illuminate\*) in this package.
Dependencies
| Package | Role |
|---|---|
azaharizaman/nexus-workflow |
State machine, approval strategies, escalation/delegation |
azaharizaman/nexus-policy-engine |
Deterministic policy evaluation |
psr/log |
Logging port |
Design
See docs/superpowers/specs/2026-03-24-nexus-approval-operations-design.md.
Testing
cd orchestrators/ApprovalOperations
composer install
./vendor/bin/phpunit
Install from monorepo root when resolving path packages:
composer update azaharizaman/nexus-approval-operations