Download the PHP package azaharizaman/nexus-treasury without Composer
On this page you can find all versions of the php package azaharizaman/nexus-treasury. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download azaharizaman/nexus-treasury
More information about azaharizaman/nexus-treasury
Files in azaharizaman/nexus-treasury
Download azaharizaman/nexus-treasury
More information about azaharizaman/nexus-treasury
Files in azaharizaman/nexus-treasury
Vendor azaharizaman
Package nexus-treasury
Short Description Atomic package for treasury management - liquidity pools, cash concentration, working capital optimization, and treasury analytics
License MIT
Package nexus-treasury
Short Description Atomic package for treasury management - liquidity pools, cash concentration, working capital optimization, and treasury analytics
License MIT
Please rate this library. Is it a good library?
Informations about the package nexus-treasury
Treasury Package
Treasury management package for cash flow forecasting, investment management, and approval workflows.
Purpose
The Treasury package provides a comprehensive domain model and service layer for managing treasury operations within the Nexus platform. It handles policy management, authorization limits, and approval workflows for financial transactions.
Key Features
- Treasury Policy Management: Create and manage treasury policies with configurable thresholds
- Authorization Limits: Define spending limits per user or role with currency support
- Approval Workflows: Submit, approve, or reject transactions requiring authorization
- Multi-Currency Support: All monetary values support multiple currencies
- Status Tracking: Comprehensive status management for policies and approvals
Installation
Requirements
- PHP ^8.3
- azaharizaman/nexus-common ^1.0
Usage
Creating a Treasury Policy
Managing Authorization Limits
Approval Workflow
Interfaces
Core Interfaces
| Interface | Description |
|---|---|
TreasuryManagerInterface |
Main orchestrator for treasury operations |
TreasuryPolicyInterface |
Treasury policy entity contract |
TreasuryApprovalInterface |
Treasury approval entity contract |
AuthorizationLimitInterface |
Authorization limit entity contract |
Repository Interfaces
| Interface | Description |
|---|---|
TreasuryPolicyRepositoryInterface |
Combined repository for policy persistence |
TreasuryPolicyQueryRepositoryInterface |
Read operations for policies |
TreasuryPolicyPersistRepositoryInterface |
Write operations for policies |
TreasuryApprovalRepositoryInterface |
Combined repository for approval persistence |
TreasuryApprovalQueryRepositoryInterface |
Read operations for approvals |
TreasuryApprovalPersistRepositoryInterface |
Write operations for approvals |
AuthorizationLimitRepositoryInterface |
Combined repository for limit persistence |
AuthorizationLimitQueryRepositoryInterface |
Read operations for limits |
AuthorizationLimitPersistRepositoryInterface |
Write operations for limits |
Models
| Model | Description |
|---|---|
TreasuryPolicy |
Immutable treasury policy entity |
TreasuryApproval |
Immutable approval entity |
AuthorizationLimit |
Immutable authorization limit entity |
Value Objects
| Value Object | Description |
|---|---|
TreasuryPolicyData |
Data transfer object for policy creation/update |
AuthorizationLimit |
Data transfer object for limit creation |
Enums
| Enum | Cases | Description |
|---|---|---|
ApprovalStatus |
PENDING, APPROVED, REJECTED, CANCELLED, EXPIRED, REQUIRES_REVIEW | Status of approval requests |
TreasuryStatus |
ACTIVE, INACTIVE, PENDING, SUSPENDED, CLOSED | Status of treasury policies |
InvestmentType |
MONEY_MARKET, TERM_DEPOSIT, TREASURY_BILL, COMMERCIAL_PAPER, FIXED_DEPOSIT, OVERNIGHT | Types of short-term investments |
InvestmentStatus |
PENDING, ACTIVE, MATURED, CANCELLED | Status of investments |
ForecastScenario |
OPTIMISTIC, BASE, PESSIMISTIC | Cash flow forecast scenarios |
Exceptions
| Exception | Description |
|---|---|
TreasuryException |
Base exception for treasury operations |
TreasuryPolicyNotFoundException |
Thrown when policy is not found |
LiquidityPoolNotFoundException |
Thrown when liquidity pool is not found |
Architecture
This package follows the Atomic Architecture pattern:
- Contracts: Interface definitions for domain contracts
- Models: Immutable entity implementations
- ValueObjects: Data transfer objects for operations
- Services: Business logic and orchestration
- Repositories: In-memory implementations for testing
- Enums: Type-safe enumerations
- Exceptions: Domain-specific exceptions
Testing
License
MIT License
All versions of nexus-treasury with dependencies
PHP Build Version
Package Version
The package azaharizaman/nexus-treasury contains the following files
Loading the files please wait ...