mostafax/erp-integration-hub
Composer 安装命令:
composer require mostafax/erp-integration-hub
包简介
Enterprise Integration Platform for ERP Systems — Visual Field Mapping, Multi-ERP Connectors (Dynamics 365, SAP, Oracle, Odoo, ERPNext), Real-Time Monitoring & Sync Scheduler for Laravel
关键字:
README 文档
README
ERP Integration Hub
Enterprise Integration Platform for ERP Systems
📖 Full Documentation → 📖 التوثيق بالعربية →
Overview
ERP Integration Hub is a Laravel package that connects your application to multiple ERP systems through a visual no-code interface — no manual API calls, no custom glue code.
ERP Integration Hub
├── Dynamics 365 Business Central ✓
├── Dynamics 365 Finance ✓
├── Supply Chain Management ✓
├── SAP S/4HANA ✓
├── Odoo ✓
├── ERPNext ✓
└── Custom REST / API ✓
Features
- Visual Field Mapping — drag-and-drop builder with 9 built-in transformers and auto-map
- 6 Sync Modes — manual, scheduled, real-time, incremental, full, event-driven
- Sync Scheduler — cron expressions, per-timezone, without overlapping
- Real-Time Monitoring — live dashboard with queue health and success rates
- Retry Management — per-record, per-profile, or bulk retry of failed jobs
- Role-Based Security — 10 granular permissions, 3 default roles
- REST API — full API layer with Sanctum authentication
- Vue 3 SPA — dark/light mode, Arabic RTL + English i18n
- High Performance — lazy collections + chunked processing, 1M–100M records
Requirements
| Dependency | Version |
|---|---|
| PHP | ^8.2 |
| Laravel | 10 / 11 / 12 |
| Redis | recommended |
mostafax/background-processing-engine |
^1.0 |
Installation
composer require mostafax/erp-integration-hub
Run the installer (publishes config, migrations, assets, and seeds default roles):
php artisan erp-integration-hub:install
Start the sync worker:
php artisan queue:work --queue=dynamics-sync
Open the dashboard:
https://your-app.com/erp-integration-hub
Configuration
Publish the config file:
php artisan vendor:publish --tag=erp-integration-hub-config
Key settings in config/erp-integration-hub.php:
'drivers' => [ 'business_central' => [...], 'dynamics_finance' => [...], 'supply_chain' => [...], 'sap' => [...], 'odoo' => [...], 'erpnext' => [...], 'custom' => [...], ], 'queue' => [ 'connection' => env('QUEUE_CONNECTION', 'redis'), 'name' => 'dynamics-sync', 'workers' => env('ERP_SYNC_WORKERS', 3), ],
REST API
All endpoints are prefixed with /api/erp-integration-hub and require Sanctum authentication.
| Method | Endpoint | Description |
|---|---|---|
GET |
/connections |
List ERP connections |
POST |
/connections |
Create a connection |
POST |
/connections/{id}/test |
Test credentials |
GET |
/sync-profiles |
List sync profiles |
POST |
/sync/run/{profileId} |
Run a sync |
GET |
/monitoring/dashboard |
Dashboard stats |
GET |
/logs |
Sync logs |
POST |
/sync/retry-all |
Retry all failed jobs |
Full API reference in the documentation.
Artisan Commands
# Install the package (first-time setup) php artisan erp-integration-hub:install # Run a sync profile manually php artisan erp-integration-hub:sync {profileId} # Process due scheduled syncs php artisan erp-integration-hub:schedule-run
Security & Permissions
The package ships with spatie/laravel-permission integration and 3 default roles:
| Role | Permissions |
|---|---|
erp_admin |
Full access |
erp_operator |
Manage syncs and connections |
erp_viewer |
Read-only access |
Architecture
src/
├── Actions/ # Single-responsibility business actions
├── Authentication/ # Microsoft OAuth client + token manager
├── Connections/
│ ├── Drivers/ # ERP-specific drivers (OData, JSON-RPC, REST)
│ └── ErpConnectionManager.php
├── Console/Commands/ # Artisan commands
├── Contracts/ # Interfaces
├── DTOs/ # Data Transfer Objects
├── Events/ # Sync lifecycle events
├── Exceptions/
├── Facades/ # ErpIntegrationHub facade
├── FieldMapping/ # Mapping engine + 9 transformers
├── Http/ # Controllers, Requests, Resources
├── Jobs/ # Queue jobs
├── Models/ # Eloquent models
├── Monitoring/ # Dashboard stats service
├── Notifications/ # Mail / Slack / database
├── Providers/ # Service provider
├── Repositories/
├── Scheduler/
├── Security/ # Policy + permission manager
└── Services/ # Sync orchestrator
Documentation
| Language | Link |
|---|---|
| English | https://mostafax2.github.io/ERP-Integration-Hub/index.html |
| العربية | https://mostafax2.github.io/ERP-Integration-Hub/ar/index.html |
License
MIT — © Mostafa Elbayyar
mostafax/erp-integration-hub 适用场景与选型建议
mostafax/erp-integration-hub 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 06 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「sync」 「oracle」 「laravel」 「integration」 「saas」 「etl」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 mostafax/erp-integration-hub 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mostafax/erp-integration-hub 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 mostafax/erp-integration-hub 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Dibi is Database Abstraction Library for PHP
Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
A sleek PHP wrapper around rclone with Laravel-style fluent API syntax
oracle per progetti Fifree2
Sync content to other sites on element save.
The lightweight PHP database framework to accelerate development
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 40
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-09