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