pib
demo
pib | demo | |
---|---|---|
7 | 1 | |
924 | 19 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
PHP | C | |
Apache License 2.0 | MIT License |
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.
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
demo
-
compiling PHP8+ for WASM
update: I discovered a project (PHAN Demo) that managed to compile PHP 8.1 for WASM but I'm still having a weird issue when executing complex code with my custom compile. more info: https://github.com/phan/demo/issues/14
What are some alternatives?
wasmer-php - ππΈοΈ WebAssembly runtime for PHP
raylib - A simple and easy-to-use library to enjoy videogames programming
gs-spring-boot - Building an Application with Spring Boot :: Learn how to build an application with minimal configuration.
wasm3 - π A fast WebAssembly interpreter and the most universal WASM runtime
Composer - Dependency Manager for PHP
space-shooter.c - A cross-platform, top-down 2D space shooter written in C using only platform libraries.
mpa-enhancer - Minimalist JavaScript to make your MPA work that much better
wordpress-playground - Run WordPress in the browser via WebAssembly PHP
webcomponents - Web Components specifications
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.