eliom
php-wasm
eliom | php-wasm | |
---|---|---|
1 | 13 | |
295 | 546 | |
0.3% | - | |
8.0 | 9.0 | |
3 days ago | 4 days ago | |
OCaml | PHP | |
GNU General Public License v3.0 or later | 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.
eliom
-
WasmGC – Compile and run GC languages such as Kotlin, Java in Chrome browser
There is a pretty complete wasm_of_ocaml port to the Eliom web framework here https://github.com/ocsigen/eliom/pull/767
It seems like it’s a relatively easy swap from js_of_ocaml to WASM. That’s the option I’ve chosen for my experiments.
php-wasm
- PHP-WASM: PHP in Browser, powered by WebAssembly
-
[Video] Testing out NativePHP
Something closer to “native“ (although still not native) would be an electron app with php interacting with the dom using something like php-wasm https://github.com/seanmorris/php-wasm. Now THAT would be incredible to interact with the ui (dom) without writing any JavaScript, all php.
- WasmGC – Compile and run GC languages such as Kotlin, Java in Chrome browser
- Tell HN: We need PHP as a browser script language
- But guys, if you had to choose?.....
-
Test Suite >> Type Hints
(And yes, php for browser exists https://github.com/seanmorris/php-wasm )
- PHP WASM compiler
-
What's the best approach to converting a PHP CLI into a fancy browser-based GUI/dashboard? More details below. Thanks :)
Presumably more trouble than normal options are worth, but you can also run PHP code in your browser directly using WebAssembly, like https://github.com/seanmorris/php-wasm does. You’ll still have to write normal front end stuff for the visualizations, but this saves you needing to run a server (in theory…I’ve never tried it)
-
What is one of the the worst parts of PHP?
There's work being done with wasm, e.g. php-wasm, but I haven't used it and don't know how well it works etc.
What are some alternatives?
dream - Tidy, feature-complete Web framework
SvelteKit - web development, streamlined
sihl - A modular functional web framework
Composer - Dependency Manager for PHP
thoth - Thoth: A domain-specific language (DSL) for multitier web development that compiles your code to a React client and Node.js server in human-readable Typescript code
Laravel - The Laravel Framework.
gc - Branch of the spec repo scoped to discussion of GC integration in WebAssembly
wasmer-php - 🐘🕸️ WebAssembly runtime for PHP
soupault - Static website generator based on HTML element tree rewriting
Symfony - The Symfony PHP framework
js_of_ocaml - Compiler from OCaml to Javascript.
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.