PHPExtensionManifest
Index
Properties
artifacts
optionalenv
Environment variables added before the extension is loaded.
optionalextensionDir
VFS directory where PHP.wasm writes the extension .so file and its
per-extension ini file. Defaults to PHP_EXTENSIONS_DIR.
optionalextraFiles
URL-backed files shared by every artifact in this manifest.
optionaliniEntries
Additional key=value lines for the generated startup .ini file.
optionalloadWithIniDirective
The first directive of the generated startup .ini file. Defaults to
extension; use zend_extension for Zend extensions like Xdebug.
Use false to stage the .so without registering it in php.ini.
Extension artifact manifest. Lets callers publish a matrix of
.sofiles and letsresolvePHPExtension()select the artifact matching the current PHP version. External extension artifacts are JSPI-only.