@php-wasm/universal 3.1.30 → 3.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,16 +21,15 @@ artifacts for the PHP version matrix:
21
21
  "artifacts": [
22
22
  {
23
23
  "phpVersion": "8.4",
24
- "file": "wp_mysql_parser-php8.4-jspi.so",
25
- "sha256": "..."
24
+ "sourcePath": "wp_mysql_parser-php8.4-jspi.so"
26
25
  }
27
26
  ]
28
27
  }
29
28
  ```
30
29
 
31
- `file` may be absolute, or relative to the manifest URL. If you pass an inline
32
- manifest instead of `manifestUrl`, pass `baseUrl` to choose where relative
33
- artifact files are resolved from.
30
+ `sourcePath` may be absolute, or relative to the manifest URL. If you pass an
31
+ inline manifest instead of `manifestUrl`, pass `baseUrl` to choose where
32
+ relative artifact files are resolved from.
34
33
 
35
34
  Asyncify extension loading is reserved for bundled extensions shipped with the
36
35
  PHP.wasm packages, such as `intl`, `xdebug`, `redis`, and `memcached`.
@@ -40,7 +39,9 @@ PHP.wasm packages, such as `intl`, `xdebug`, `redis`, and `memcached`.
40
39
  `resolvePHPExtension()` turns bytes, a direct artifact URL, or a manifest into a
41
40
  `ResolvedPHPExtension`. `withResolvedPHPExtensions()` then augments Emscripten
42
41
  options so the extension `.so`, generated `.ini`, sidecar files, and environment
43
- variables are ready before PHP scans its `.ini` files.
42
+ variables are ready before PHP scans its `.ini` files. When
43
+ `loadWithIniDirective` is `false`, the `.so` and sidecar files are still staged
44
+ but no `.ini` file or `PHP_INI_SCAN_DIR` entry is generated.
44
45
 
45
46
  ```ts
46
47
  import { resolvePHPExtension, withResolvedPHPExtensions } from '@php-wasm/universal';