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