Getting Started
Welcome to Integration Hub for Moodle! This guide will help you understand what MIH is and how to get started.
What is MIH?
Integration Hub for Moodle (MIH) is an independent plugin for the Moodle™ platform that provides a centralized, production-grade integration layer between your Moodle™ site and any external service — REST APIs, message brokers (RabbitMQ), or SOAP web services.
Quick Overview
MIH solves the integration sprawl problem by providing:
1. MIH API (Facade)
A simple PHP API that any plugin can use to call external services reliably:
$response = mih::request('service-name', '/api/endpoint', $payload, 'POST');
if ($response->is_ok()) {
// Handle success
}
2. Event Bridge
A no-code system for mapping events to external webhooks — no PHP required!
Key Features
- Circuit Breaker — Prevents cascading failures when services go down
- Automatic Retries — Exponential backoff built-in
- Dead Letter Queue — Failed events stored for replay
- Monitoring Dashboard — Real-time success rates and latency
- Multi-transport — REST, AMQP (RabbitMQ), and SOAP
Next Steps
- Installation — Install and configure MIH in your instance
- Architecture — Understand how MIH works internally
- Admin Guide — Configure services and rules
- MIH API — Integrate MIH into your own plugins
Learn More
- Core Concepts — System architecture and design patterns
- Data Flow — Detailed execution flows
- Cookbook — Practical real-world examples