定制 azaharizaman/nexus-time-tracking 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

azaharizaman/nexus-time-tracking

最新稳定版本:v0.1.0-alpha1

Composer 安装命令:

composer require azaharizaman/nexus-time-tracking

包简介

Time entry and timesheet rules: hours validation, approval workflow, immutability. Reusable for projects, support, internal work.

README 文档

README

Time entry and timesheet rules (hours, approval, immutability) for the Nexus ERP ecosystem.

Overview

The Nexus\TimeTracking package is a Layer 1 atomic package that owns timesheet entry (date, hours, optional work item ID), validation (e.g. hours not negative, max 24h/day/user), approval state machine, immutability of approved timesheets, and rules for billing rate default. No project/task persistence—only IDs and interfaces for work item and approver. Reusable for any domain that logs time.

Architecture

  • Layer 1 Atomic Package. Pure PHP 8.3+. No framework dependencies.
  • Namespace: Nexus\TimeTracking

Key Interfaces

  • TimesheetManagerInterface – create/update timesheet lifecycle
  • TimesheetQueryInterface – read timesheets
  • TimesheetPersistInterface – persistence contract
  • TimesheetApprovalInterface – approval workflow

Requirements (mapped)

  • FUN-PRO-0254/0566: Time tracking and timesheet entry
  • FUN-PRO-0575: Timesheet approval workflow
  • BUS-PRO-0056: Timesheet hours cannot be negative or exceed 24h/day/user
  • BUS-PRO-0063: Approved timesheets are immutable
  • BUS-PRO-0070: Task actual hours = sum of approved timesheet hours
  • BUS-PRO-0101/0125, REL-PRO-0396, SEC-PRO-0460

Installation

composer require azaharizaman/nexus-time-tracking

License

MIT.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 9
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固