---
title: "How-to — Framework"
---

> 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.

# How-to — Framework

Task-oriented guides for a specific goal.

- [Pre-PR Boundary Checklist](/framework/how-to/pre-pr-boundary-checklist/)
- [Generate PHP Reference Docs](/framework/how-to/generate-php-reference/)

## WordPress adapter

- [Add REST controllers and routes](/framework/how-to/wordpress/rest-controllers/)
- [Store data with the `$wpdb` connection adapter](/framework/how-to/wordpress/persistence/)
- [Read posts, users and metadata through repositories](/framework/how-to/wordpress/repositories/)
- [Register WordPress hooks and host events](/framework/how-to/wordpress/hooks/)
- [Schedule recurring events and background jobs](/framework/how-to/wordpress/cron/)
- [Send email through `wp_mail`](/framework/how-to/wordpress/mail/)
- [Register definitions and read options](/framework/how-to/wordpress/settings/)
- [Check that your plugin booted with `wp <root> doctor`](/framework/how-to/wordpress/diagnostics/)

Source: https://docs.middag.dev/framework/how-to/index.mdx
