0.0.9-x • Published 1 year ago

php-wasm-sqlite v0.0.9-x

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

php-wasm-sqlite

sqlite extenstion for php-wasm.

https://github.com/seanmorris/php-wasm

https://www.npmjs.com/package/php-wasm

Usage

php-wasm-sqlite can be loaded via dynamic imports:

const php = new PhpWeb({sharedLibs: [
    await import('https://unpkg.com/php-wasm-sqlite')
]});

You can rely on the default loading behavior if all .so files are served from the same directory as your .wasm files.

const php = new PhpWeb({sharedLibs: ['php8.3-sqlite.so']});

You can provide a callback as the locateFile option to map library names to URLs:

const locateFile = (libName) => {
    return `https://my-example-server.site/path/to/libs/${libName}`;
};

const php = new PhpWeb({locateFile, sharedLibs: ['php8.3-sqlite.so']});

Build options:

The following options may be set in .php-wasm-rc for custom builds of php-wasm & php-cgi-wasm.

  • WITH_SQLITE

WITH_SQLITE

0|static|shared|dynamic

When compiled as a dynamic extension, this will produce the extension php-8.𝑥-sqlite.so.

0.0.9-alpha-27

1 year ago

0.0.9-alpha-25

1 year ago

0.0.9-alpha-22

1 year ago

0.0.9-alpha-23

1 year ago

0.0.9-alpha-24

1 year ago

0.0.9-alpha-21

1 year ago

0.0.9-alpha-20

1 year ago

0.0.9-alpha-18

1 year ago

0.0.9-alpha-19

1 year ago

0.0.9-alpha-17

1 year ago

0.0.9-k

2 years ago

0.0.9-j

2 years ago

0.0.9-i

2 years ago

0.0.9-h

2 years ago

0.0.9-o

2 years ago

0.0.9-n

2 years ago

0.0.9-m

2 years ago

0.0.9-l

2 years ago

0.0.9-c

2 years ago

0.0.9-b

2 years ago

0.0.9-g

2 years ago

0.0.9-f

2 years ago

0.0.9-e

2 years ago

0.0.9-d

2 years ago

0.0.9-x

1 year ago

0.0.9-s

2 years ago

0.0.9-r

2 years ago

0.0.9-q

2 years ago

0.0.9-p

2 years ago

0.0.9-w

1 year ago

0.0.9-v

1 year ago

0.0.9-u

1 year ago

0.0.9-t

2 years ago

0.0.9

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago