You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+1-16Lines changed: 1 addition & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,30 +15,15 @@ The toolkit includes several WordPress plugins to enhance the headless experienc
15
15
16
16
| Plugin | Description |
17
17
|--------|-------------|
18
-
|[hwp-previews](../plugins/hwp-previews/)| Headless Previews solution for WordPress: fully configurable preview URLs via the settings page which is framework agnostic. |
19
-
|[wpgraphql-webhooks](../plugins/wpgraphql-webhooks/)| Extends WPGraphQL to support webhook subscriptions and dispatching for headless WordPress environments. |
20
18
|[wpgraphql-logging](../plugins/wpgraphql-logging/)| Logging for WPGraphQL requests with granular lifecycle events and Monolog integration. |
21
-
|[wpgraphql-debug-extensions](../plugins/wpgraphql-debug-extensions/)| Advanced debugging, performance analysis, and metric collection for WPGraphQL. |
22
-
23
-
You can find more information about installation in the [plugins documentation](../plugins/README.md).
24
-
25
-
## Packages
26
-
27
-
We provide NPM packages that can be used in your frontend applications. All packages use vanilla ES Modules with no build step.
28
-
29
-
-[@wpengine/hwp-toolbar](../packages/toolbar/) — in active development (not yet published)
30
-
31
-
> [!NOTE]
32
-
> No packages are published to npm yet. These are pre-release and subject to change.
19
+
|[hwp-previews](../plugins/hwp-previews/)| Headless Previews solution for WordPress: fully configurable preview URLs via the settings page which is framework agnostic. |
33
20
34
21
## Examples
35
22
36
23
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.
37
24
38
25
Most examples include a `wp-env` setup, allowing you to fully configure a headless application with a single command.
39
26
40
-
For a full list of examples and how to run them, please see the [examples documentation](../examples/README.md).
41
-
42
27
## Contributing
43
28
44
29
If you feel like something is missing or you want to add documentation, we encourage you to contribute! Please check out our [Contributing Guide](https://github.com/wpengine/hwptoolkit/blob/main/CONTRIBUTING.md) for more details.
│ │ ├── Api/ # Api interfaces for fetching and writing log data
122
+
│ │ ├── Database/ # Database entity and helper
123
+
│ │ ├── Handlers/ # Monolog WordPress database handler for logging data
124
+
│ │ ├── Processors/ # Monolog processors for data sanitization and request headers
125
+
│ │ ├── Rules/ # Rules and RuleManager to decide whether to log a query
126
+
│ │ ├── Scheduler/ # Automated data cleanup and maintenance tasks
127
+
│ │ └── Store/ # Log storage service
128
+
│ ├── Plugin.php # Main plugin class (entry point)
129
+
│ └── Autoloader.php # PSR-4 autoloader
130
+
├── tests/ # All test suites
131
+
│ ├── e2e/ # End-to-end tests
132
+
│ └── wpunit/ # WPBrowser/Codeception unit tests
133
+
├── [wpgraphql-logging.php]
134
+
├── [activation.php]
135
+
├── [composer.json]
136
+
├── [deactivation.php]
137
+
├── [CHANGELOG.md]
138
+
└── [README.md]
139
+
```
140
+
142
141
## Viewing Logs
143
142
144
143
Once setup, you can view logs under GraphQL Logs -> All Logs. The admin screen is a custom implementation of the WordPress `WP_List_Table` class and provides several powerful features for managing your logs.
0 commit comments