wasmer-php
pib
wasmer-php | pib | |
---|---|---|
5 | 7 | |
986 | 924 | |
0.4% | - | |
0.0 | 0.0 | |
2 months ago | over 1 year ago | |
PHP | PHP | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wasmer-php
-
php-wasm is now running PHP 8.2.4
closest I found was https://github.com/wasmerio/wasmer-php but it seems both abandonded and very rough, proof of concept.
-
Python is demonic!
Oh yeah?
-
Run a web server in a web page
You are right. I am planning to add PHP, similar to wasmer-php[0], but based on Service Worker.
[0]: https://github.com/wasmerio/wasmer-php
- Dress code
-
Feeling down about peoples hate for PHP
Some things you should know about or try: Composer (package manager) and Packagist (the package registry) API Platform (based on Symfony) for easy REST/GraphQL API building Phalcon, a high performance framework Slim, a micro framework ReactPHP, a php implementation of node (async php) Wasmer-php, a wasm runtime with the potential to create portable extensions / packages
pib
- Show HN: ClassroomIO β an in-browser programming environment for education
-
Things you forgot because of React
I'd say don't give anyone bad ideas, but we are too late:
https://github.com/oraoto/pib
-
Is PHP something you will be using in 2023? If so why?
People are weird though - so it IS also technically possible now to compile php to wasm if you really want to write some frontend code in php e.g. https://github.com/oraoto/pib - I'm not sure if that's a joke, intellectual exercise just for fun, or mad php people are really doing that for reals, I'd never use it in reality of course.
-
compiling PHP8+ for WASM
Here's an issue i opened a few weeks ago in their repository asking for help but unfortunately nobody replied yet: https://github.com/oraoto/pib/issues/65
-
Execute PHP in vscode.dev?
Well, it depends on the extensions you're using. Since vscode.dev only runs locally in your browser, all extensions are limited to declarative things like snippets, themes etc. or else they have to use JavaScript or WebAssembly to run. Many extensions (I assume the ones for PHP as well) require platform-native executables, and as such can't currently run the browser. Interestingly, I found this from a quick internet search, but I don't know if any VSCode extension is making use of it yet.
- Run a web server in a web page
-
Php Port?
Maybe something like this, then? https://github.com/oraoto/pib
What are some alternatives?
msphpsql - Microsoft Drivers for PHP for SQL Server
gs-spring-boot - Building an Application with Spring Boot :: Learn how to build an application with minimal configuration.
webassembly-wasi-experiments - Discover WebAssembly System Interface (WASI) with C/Rust use cases
Composer - Dependency Manager for PHP
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
mpa-enhancer - Minimalist JavaScript to make your MPA work that much better
tomlrs-php - Rust extension to bring fast TOML parsing to PHP
wordpress-playground - Run WordPress in the browser via WebAssembly PHP
pecl-jsonpath - PHP extension for JSONPath
webcomponents - Web Components specifications
http-server-online - Start a local HTTP server without any tools, just open a web page.
htmf - A minimalist partial html swapping library similar to HTMX and other libraries which create an MPA app and enhances it with a focus on HTML forms.