PHP 7.4 WebAssembly binaries for node
npm install @php-wasm/node-7-4PHP 7.4 WebAssembly binaries for Node.js.
This package contains:
- JSPI and Asyncify variants of PHP 7.4 compiled to WebAssembly
- intl extension for PHP 7.4
- xdebug extension for PHP 7.4
``bash`
npm install @php-wasm/node-7-4
`typescript
import { getPHPLoaderModule, getIntlExtensionPath } from '@php-wasm/node-7-4';
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