azaharizaman/nexus-query-engine 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

azaharizaman/nexus-query-engine

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

Composer 安装命令:

composer require azaharizaman/nexus-query-engine

包简介

High-performance framework-agnostic query execution and data aggregation engine for the Nexus ERP system

README 文档

README

Framework-agnostic analytics and business intelligence engine for the Nexus ERP ecosystem.

Overview

The Nexus\QueryEngine package provides a comprehensive analytics engine that enables:

  • Query Execution: Execute complex analytical queries with ACID compliance
  • Predictive Modeling: Machine learning integration for forecasting and predictions
  • Data Aggregation: Parallel data source merging and aggregation
  • Permission Management: Role-based access control with delegation chains
  • Analytics History: Immutable audit trail of all analytics operations
  • Guard Conditions: Pre-execution validation and security checks

Key Features

  • ✅ Framework-agnostic design (no Laravel dependencies)
  • ✅ ACID-compliant query execution with transaction support
  • ✅ Parallel data source processing
  • ✅ Built-in security with RBAC integration
  • ✅ Tenant isolation support
  • ✅ Predictive model management with drift detection
  • ✅ Before/after hooks for extensibility
  • ✅ Database-driven analytics definitions (JSON)
  • ✅ Comprehensive error handling and retry logic

Installation

In the Atomy application:

composer require azaharizaman/nexus-query-engine:"*@dev"

Basic Usage

use Nexus\QueryEngine\Services\AnalyticsManager;

// Execute a query
$result = $analyticsManager->runQuery($queryDefinition, $context);

// Check permissions
$canExecute = $analyticsManager->can($userId, 'execute', $queryId);

// Get analytics history
$history = $analyticsManager->getHistory($entityId, $limit);

Architecture

This package follows the Nexus architecture principles:

  • Logic in Packages: All business logic is framework-agnostic
  • Implementation in Applications: Atomy provides concrete implementations
  • Contract-Driven: All dependencies defined via interfaces

Documentation

See docs/ANALYTICS_IMPLEMENTATION.md for complete implementation details.

License

MIT License - see LICENSE file for details.

Documentation

Package Documentation

Package Specifications

Code Examples

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固