PHPackages                             azaharizaman/nexus-resource-allocation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. azaharizaman/nexus-resource-allocation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

azaharizaman/nexus-resource-allocation
======================================

Allocation of capacity (% or hours per user per period), overallocation checks and double-booking prevention. Reusable for projects, HR capacity, shared resources.

v0.1.0-alpha1(1mo ago)00MITPHPPHP ^8.3

Since May 5Pushed 1mo agoCompare

[ Source](https://github.com/azaharizaman/nexus-resource-allocation)[ Packagist](https://packagist.org/packages/azaharizaman/nexus-resource-allocation)[ RSS](/packages/azaharizaman-nexus-resource-allocation/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Nexus\\ResourceAllocation
=========================

[](#nexusresourceallocation)

Resource allocation and overallocation checks for the Nexus ERP ecosystem.

Overview
--------

[](#overview)

The **Nexus\\ResourceAllocation** package is a Layer 1 atomic package that owns allocation records (who, when, percentage or hours), the rule that allocation cannot exceed 100% per user per day (BUS-PRO-0084), overallocation detection, and double-booking prevention (REL-PRO-0402). No project/task persistence—consumers pass assignment or demand IDs. Reusable for project staffing, HR capacity, shared resources.

Architecture
------------

[](#architecture)

- **Layer 1 Atomic Package.** Pure PHP 8.3+. No framework dependencies.
- **Namespace:** `Nexus\ResourceAllocation`

Key Interfaces
--------------

[](#key-interfaces)

- `AllocationManagerInterface` – create/update allocations
- `AllocationQueryInterface` – read allocations
- `OverallocationCheckerInterface` – detect and prevent over-allocation

Requirements (mapped)
---------------------

[](#requirements-mapped)

- FUN-PRO-0571: Resource allocation and overallocation checks
- BUS-PRO-0084: Resource allocation percentage cannot exceed 100% per user per day
- REL-PRO-0402: Resource allocation MUST prevent double-booking
- PER-PRO-0357: Resource allocation view performance

Installation
------------

[](#installation)

```
composer require azaharizaman/nexus-resource-allocation
```

License
-------

[](#license)

MIT.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance93

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

36d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/117408?v=4)[Azahari Zaman](/maintainers/azaharizaman)[@azaharizaman](https://github.com/azaharizaman)

---

Top Contributors

[![azaharizaman](https://avatars.githubusercontent.com/u/117408?v=4)](https://github.com/azaharizaman "azaharizaman (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/azaharizaman-nexus-resource-allocation/health.svg)

```
[![Health](https://phpackages.com/badges/azaharizaman-nexus-resource-allocation/health.svg)](https://phpackages.com/packages/azaharizaman-nexus-resource-allocation)
```

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

515135.1M619](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[phpro/soap-client

A general purpose SoapClient library

8895.9M52](/packages/phpro-soap-client)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k41](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

744284.3k34](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.9M199](/packages/illuminate-broadcasting)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
