@php-wasm/web-8-2 3.0.31
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 +32 -0
- package/asyncify/8_2_29/php_8_2.wasm +0 -0
- package/asyncify/extensions/intl/8_2/intl.la +35 -0
- package/asyncify/extensions/intl/8_2/intl.so +0 -0
- package/asyncify/php_8_2.js +27345 -0
- package/index.cjs +57 -0
- package/index.js +27 -0
- package/jspi/8_2_29/php_8_2.wasm +0 -0
- package/jspi/extensions/intl/8_2/intl.la +35 -0
- package/jspi/extensions/intl/8_2/intl.so +0 -0
- package/jspi/php_8_2.js +26402 -0
- package/package.json +57 -0
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @php-wasm/web-8-2
|
|
2
|
+
|
|
3
|
+
PHP 8.2 WebAssembly binaries for the web.
|
|
4
|
+
|
|
5
|
+
This package contains:
|
|
6
|
+
|
|
7
|
+
- JSPI and Asyncify variants of PHP 8.2 compiled to WebAssembly
|
|
8
|
+
- intl extension for PHP 8.2
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @php-wasm/web-8-2
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { getPHPLoaderModule, getIntlExtensionPath } from '@php-wasm/web-8-2';
|
|
20
|
+
|
|
21
|
+
const loaderModule = await getPHPLoaderModule();
|
|
22
|
+
const intlPath = await getIntlExtensionPath();
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Related Packages
|
|
26
|
+
|
|
27
|
+
- [@php-wasm/web](https://www.npmjs.com/package/@php-wasm/web) - Main package (requires version packages)
|
|
28
|
+
- [@php-wasm/universal](https://www.npmjs.com/package/@php-wasm/universal) - Universal PHP.wasm bindings
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
GPL-2.0-or-later
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=' -L/root/lib'
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|