azaharizaman/nexus-query-engine
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
- Getting Started Guide - Quick start and basic usage
- API Reference - Complete interface documentation
- Integration Guide - Laravel and Symfony integration examples
Package Specifications
- IMPLEMENTATION_SUMMARY.md - Implementation progress and architecture decisions
- REQUIREMENTS.md - Detailed package requirements (84 requirements)
- TEST_SUITE_SUMMARY.md - Test coverage plan (135+ tests planned)
- VALUATION_MATRIX.md - Package valuation ($250K, 2,083% ROI)
Code Examples
- Basic Usage - Simple queries and common use cases
- Advanced Usage - Multi-dimensional analysis, cohort analysis
azaharizaman/nexus-query-engine 适用场景与选型建议
azaharizaman/nexus-query-engine 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「analytics」 「queries」 「nexus」 「business-intelligence」 「predictive-modeling」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 azaharizaman/nexus-query-engine 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 azaharizaman/nexus-query-engine 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 azaharizaman/nexus-query-engine 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PDO+ extends PDO in order to log all your queries. It also includes a Bar Panel for Tracy
Easily apply search criteria on Laravel 5+ queries
Log SQL queries in Laravel/Lumen framework
Bundle extension that installs and loads Semantic MediaWiki and associated extensions
Analytics chooser extensions for site settings.
Laravel package to monitor SELECT queries and offer best possible INDEX fields.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 41
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-04