---
title: "Integrate with MIDDAG"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.middag.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate with MIDDAG

Pages for developers who build extensions for MIDDAG products. An extension for MIDDAG for Moodle codes against the curated `@api` types of `middag-io/core`, the MIDDAG core library, and is loaded by the MIDDAG Moodle plugin. `middag-io/core` is proprietary and on its pre-stable `1.x` line: read [Integrating with MIDDAG](/integrate/explanation/overview) first.

- **Explanation:** [Integrating with MIDDAG](/integrate/explanation/overview): the parts of the surface, what is stable and how to handle open enums.
- **Reference:** [Extension contract](/integrate/reference/extension-contract), [Signals and hooks](/integrate/reference/signals-and-hooks), [Items and metadata](/integrate/reference/items-and-metadata), [Tenant](/integrate/reference/tenant), [Jobs and operations](/integrate/reference/jobs-and-operations), [Errors](/integrate/reference/errors).
- **How-to:** [Distribute an extension as a Composer package](/integrate/how-to/distribute-as-composer-package), [Routes, capabilities, shortcodes and widgets](/integrate/how-to/routes-capabilities-shortcodes-widgets).

The open-source libraries that `middag-io/core` builds on are documented in [MIDDAG Framework](/framework/).

Source: https://docs.middag.dev/integrate/index.mdx
