Skip to content

Commit

Permalink
PHP: Support http:// https:// and ssl:// stream wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Mar 7, 2024
1 parent 412b29f commit 9ddf54b
Show file tree
Hide file tree
Showing 8 changed files with 571 additions and 6 deletions.
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"file-saver": "^2.0.5",
"follow-redirects": "1.15.2",
"fs-extra": "11.1.1",
"node-forge": "1.3.1",
"octokit": "3.1.1",
"octokit-plugin-create-pull-request": "5.1.1",
"react": "^18.2.0",
Expand Down
1 change: 1 addition & 0 deletions packages/php-wasm/compile/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ const platformDefaults = {
WITH_MBSTRING: 'yes',
WITH_MBREGEX: 'yes',
WITH_OPENSSL: 'yes',
WITH_WS_NETWORKING_PROXY: 'yes',
},
node: {
WITH_ICONV: 'yes',
Expand Down
Binary file modified packages/php-wasm/web/public/kitchen-sink/8_0_30/php_8_0.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/php-wasm/web/public/kitchen-sink/php_8_0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/php-wasm/web/src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export * from './api';
export type { WithAPIState as WithIsReady } from './api';
export type { PHPWebLoaderOptions } from './web-php';

export { WebPHP } from './web-php';
export { CAPem, WebPHP } from './web-php';
export { WebPHPEndpoint } from './web-php-endpoint';
export { getPHPLoaderModule } from './get-php-loader-module';
export { registerServiceWorker } from './register-service-worker';
Expand Down
Loading

0 comments on commit 9ddf54b

Please sign in to comment.