wordpress-playground-handler
Version:
A Node.js library for creating and managing WordPress Playground instances with PHP request handling capabilities. Optimized for Node.js runtime environments.
9 lines (8 loc) • 334 B
TypeScript
import { PHPRequestHandler } from "@php-wasm/universal";
import { Blueprint } from "@wp-playground/blueprints";
interface MountPaths {
databasePath?: string;
muPluginsPath?: string;
}
export declare function createPlaygroundRequestHandler(blueprint: Blueprint, mountPaths?: MountPaths): Promise<PHPRequestHandler>;
export {};