Download the PHP package azaharizaman/nexus-human-resource-operations without Composer

On this page you can find all versions of the php package azaharizaman/nexus-human-resource-operations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nexus-human-resource-operations

Nexus\HumanResourceOperations

⚠️ REFACTORED (Dec 2025): This orchestrator has been completely refactored to follow the Advanced Orchestrator Pattern.

📖 New Architecture: See NEW_ARCHITECTURE.md for complete documentation.

📜 Previous Design: See README.OLD.md for historical reference.


Quick Start

The HumanResourceOperations orchestrator coordinates HR workflows across multiple atomic packages using a clean, maintainable architecture.

Core Components

Example: Hiring Workflow

Example: Leave Application


Architecture Principles

This orchestrator follows the Advanced Orchestrator Pattern with these golden rules:

  1. Coordinators are Traffic Cops, not Workers - They direct flow, don't do work
  2. Data Fetching is Abstracted - DataProviders aggregate cross-package data
  3. Validation is Composable - Rules are individual, testable classes
  4. Strict Contracts - Always use DTOs, never raw arrays
  5. System First - Always use Nexus packages (Identity, Notifier, AuditLogger, etc.)

See NEW_ARCHITECTURE.md for complete details.


Directory Structure


Available Coordinators

Coordinator Purpose Key Operations
HiringCoordinator Process hiring decisions processHiringDecision()
LeaveCoordinator Manage leave applications applyLeave(), approveLeave(), cancelLeave()
AttendanceCoordinator (Planned) Attendance tracking recordCheckIn(), detectAnomalies()
PayrollCoordinator (Planned) Payroll processing calculatePayroll(), generatePayslip()

Authorization Policies

This orchestrator uses Nexus\Identity for context-aware authorization via PolicyEvaluatorInterface.

Policy-Based Authorization (ABAC)

Complex authorization scenarios (e.g., "Can user apply leave on behalf of employee?") are handled by policies that check relationships and context:

Registering Policies

Policies must be registered in your application's service provider:

📖 See: adapters/Laravel/HRM/docs/POLICY_REGISTRATION_EXAMPLE.md for complete examples.

📖 See: CODING_GUIDELINES.md - Section 5.1 for authorization patterns.


Installation

Dependencies:


Testing


Migration Guide

If migrating from the old architecture:

  1. UseCases → Coordinators - Entry points
  2. Pipelines → Workflows - Long-running processes
  3. Inline validation → Rules - Composable validation
  4. Array params → DTOs - Typed contracts
  5. Direct repo calls → DataProviders - Data aggregation

See NEW_ARCHITECTURE.md for complete migration guide.


License

MIT License


Documentation:


All versions of nexus-human-resource-operations with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package azaharizaman/nexus-human-resource-operations contains the following files

Loading the files please wait ...