1.1.2 • Published 6 months ago

@php-wasm/node v1.1.2

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
6 months ago

WebAssembly PHP for Node.js

This package ships WebAssembly PHP binaries and the JavaScript API optimized for Node.js. It comes with the following PHP extensions:

  • SQLite
  • Libzip
  • Libpng
  • CLI
  • OpenSSL
  • MySQL

It uses the host filesystem directly and can access the network if you plug in a custom WS proxy.

Here's how to use it:

import { PHP } from '@php-wasm/universal';
import { loadNodeRuntime } from '@php-wasm/node';

const php = new PHP(await loadNodeRuntime('8.3'));

const output = await php.run({
	code: '<?php phpinfo(); ?>',
});

console.log(response.text);

Attribution

@php-wasm/node started as a fork of the original PHP to WebAssembly build published by Oraoto in https://github.com/oraoto/pib and modified by Sean Morris in https://github.com/seanmorris/php-wasm.

1.1.1

6 months ago

1.1.0

6 months ago

1.1.2

6 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

12 months ago

1.0.16

12 months ago

1.0.9

1 year ago

1.0.22

10 months ago

1.0.21

11 months ago

1.0.20

11 months ago

1.0.26

9 months ago

1.0.25

10 months ago

1.0.24

10 months ago

1.0.23

10 months ago

1.0.29

6 months ago

1.0.28

9 months ago

1.0.27

9 months ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.15

12 months ago

1.0.14

12 months ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.9.45

1 year ago

0.9.46

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.9.44

1 year ago

0.9.42

1 year ago

0.9.41

1 year ago

0.9.40

1 year ago

0.9.34

1 year ago

0.9.35

1 year ago

0.9.36

1 year ago

0.9.37

1 year ago

0.9.30

1 year ago

0.9.4

1 year ago

0.9.31

1 year ago

0.9.32

1 year ago

0.9.33

1 year ago

0.9.38

1 year ago

0.9.39

1 year ago

0.9.23

1 year ago

0.9.24

1 year ago

0.9.25

1 year ago

0.9.26

1 year ago

0.9.20

1 year ago

0.9.21

1 year ago

0.9.22

1 year ago

0.9.27

1 year ago

0.9.28

1 year ago

0.9.29

1 year ago

0.9.12

1 year ago

0.9.13

1 year ago

0.9.14

1 year ago

0.9.15

1 year ago

0.9.10

1 year ago

0.9.11

1 year ago

0.9.16

1 year ago

0.9.17

1 year ago

0.9.18

1 year ago

0.9.19

1 year ago

0.7.20

2 years ago

0.7.4

2 years ago

0.7.10

2 years ago

0.7.9

2 years ago

0.7.6

2 years ago

0.7.5

2 years ago

0.7.8

2 years ago

0.7.7

2 years ago

0.7.19

2 years ago

0.7.18

2 years ago

0.7.15

2 years ago

0.7.14

2 years ago

0.7.17

2 years ago

0.7.16

2 years ago

0.7.3

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.16

2 years ago

0.6.15

2 years ago

0.6.14

2 years ago

0.6.13

2 years ago

0.6.10

2 years ago

0.6.9

2 years ago

0.6.8

2 years ago

0.6.7

2 years ago

0.6.6

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.6

2 years ago

0.5.5

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.5.1

2 years ago

0.3.0

2 years ago

0.3.1

2 years ago

0.2.0

2 years ago

0.1.56

3 years ago

0.1.58

2 years ago

0.1.59

2 years ago

0.1.51

3 years ago

0.1.49

3 years ago

0.1.42

3 years ago

0.1.45

3 years ago

0.1.46

3 years ago

0.1.60

2 years ago

0.1.61

2 years ago

0.1.40

3 years ago

0.1.39

3 years ago

0.1.37

3 years ago

0.1.32

3 years ago

0.1.28

3 years ago

0.1.26

3 years ago

0.1.24

3 years ago

0.1.20

3 years ago

0.1.19

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.3

3 years ago

0.1.0

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago