|
| 1 | +--- |
| 2 | +title: "Introduction" |
| 3 | +description: "Introduction to the Headless WordPress Toolkit, a modern, framework-agnostic collection of plugins and packages for building headless WordPress applications." |
| 4 | +--- |
| 5 | + |
| 6 | + |
| 7 | +# Introduction |
| 8 | + |
| 9 | +## What is the Headless WordPress Toolkit? |
| 10 | + |
| 11 | +The Headless WordPress Toolkit is a modern, framework-agnostic toolkit for building headless WordPress applications. It provides a collection of plugins, packages, and examples to help developers make WordPress a better headless CMS. |
| 12 | + |
| 13 | +Our goal is to provide developers with the tools they need to build fast, scalable, and secure headless applications with WordPress, without being tied to a specific frontend framework. |
| 14 | + |
| 15 | +## Plugins |
| 16 | + |
| 17 | +The toolkit includes several WordPress plugins to enhance the headless experience. |
| 18 | + |
| 19 | +| Plugin | Description | |
| 20 | +|--------|-------------| |
| 21 | +| [`hwp-previews`](../plugins/hwp-previews/) | Headless Previews solution for WordPress: fully configurable preview URLs via the settings page which is framework agnostic. | |
| 22 | +| [`wpgraphql-webhooks`](../plugins/wpgraphql-webhooks/) | Extends WPGraphQL to support webhook subscriptions and dispatching for headless WordPress environments. | |
| 23 | +| [`wpgraphql-logging`](../plugins/wpgraphql-logging/) | Logging for WPGraphQL requests with granular lifecycle events and Monolog integration. | |
| 24 | +| [`wpgraphql-debug-extensions`](../plugins/wpgraphql-debug-extensions/) | Advanced debugging, performance analysis, and metric collection for WPGraphQL. | |
| 25 | + |
| 26 | +You can find more information about installation in the [plugins documentation](../plugins/README.md). |
| 27 | + |
| 28 | +## Packages |
| 29 | + |
| 30 | +We provide NPM packages that can be used in your frontend applications. All packages use vanilla ES Modules with no build step. |
| 31 | + |
| 32 | +- [`@wpengine/hwp-toolbar`](../packages/toolbar/) — in active development (not yet published) |
| 33 | + |
| 34 | +> [!NOTE] |
| 35 | +> No packages are published to npm yet. These are pre-release and subject to change. |
| 36 | +
|
| 37 | +## Examples |
| 38 | + |
| 39 | +This project contains a wide variety of examples demonstrating how to use the Headless WordPress Toolkit with different frameworks like Next.js, Astro, SvelteKit, and Nuxt. |
| 40 | + |
| 41 | +Most examples include a `wp-env` setup, allowing you to fully configure a headless application with a single command. |
| 42 | + |
| 43 | +For a full list of examples and how to run them, please see the [examples documentation](../examples/README.md). |
0 commit comments