@php-wasm/web
Index
Classes
Functions
Interfaces
References
Type Aliases
Variables
References
PublicAPI
Renames and re-exports consumeAPI
RemoteAPI
Renames and re-exports consumeAPI
WithAPIState
Renames and re-exports consumeAPI
WithIsReady
Renames and re-exports consumeAPI
exposeAPI
Renames and re-exports consumeAPI
Type Aliases
BuiltInPHPWebExtensionName
GeneratedCertificate
Type declaration
certificate: Uint8Array
keyPair: CryptoKeyPair
tbsCertificate: TBSCertificate
tbsDescription: TBSCertificateDescription
MountDevice
OID
OIDName
PHPWebExtension
PHP extension request accepted by loadWebRuntime().
The array may mix built-in extension names with external extension sources:
await loadWebRuntime('8.4', {
extensions: [
'intl',
{ source: { format: 'manifest', manifestUrl } },
],
});
RuntimePHPWebExtensionSource
External PHP extension source that can be installed before PHP starts.
External sources are supported in JSPI runtimes only. Asyncify support is limited to bundled extensions shipped with this package.
SyncProgress
Type declaration
files: number
The number of files that have been synced.
total: number
The number of all files that need to be synced.
SyncProgressCallback
Type declaration
Parameters
progress: SyncProgress
Returns void
TBSCertificate
TCPOverFetchOptions
Type declaration
CAroot: GeneratedCertificate
optionalcorsProxyUrl?: string
Validity
Type declaration
notAfter: Date
notBefore: Date
Built-in PHP extensions shipped with
@php-wasm/web.