PHP 8.2 WebAssembly binaries for node
npm install @php-wasm/node-8-2PHP 8.2 WebAssembly binaries for Node.js.
This package contains:
- JSPI and Asyncify variants of PHP 8.2 compiled to WebAssembly
- intl extension for PHP 8.2
- xdebug extension for PHP 8.2
``bash`
npm install @php-wasm/node-8-2
`typescript
import { getPHPLoaderModule, getIntlExtensionPath } from '@php-wasm/node-8-2';
const loaderModule = await getPHPLoaderModule();
const intlPath = await getIntlExtensionPath();
``
- @php-wasm/node - Main package (requires version packages)
- @php-wasm/universal - Universal PHP.wasm bindings
GPL-2.0-or-later