pib
PHP in Browser (powered by WebAssembly) (by oraoto)
wasmer-php
ππΈοΈ WebAssembly runtime for PHP (by wasmerio)
pib | wasmer-php | |
---|---|---|
7 | 5 | |
924 | 986 | |
- | 0.4% | |
0.0 | 0.0 | |
over 1 year ago | 2 months ago | |
PHP | PHP | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of pib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-15.
- 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
wasmer-php
Posts with mentions or reviews of wasmer-php.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-30.
-
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
What are some alternatives?
When comparing pib and wasmer-php you can also consider the following projects:
gs-spring-boot - Building an Application with Spring Boot :: Learn how to build an application with minimal configuration.
msphpsql - Microsoft Drivers for PHP for SQL Server
Composer - Dependency Manager for PHP
webassembly-wasi-experiments - Discover WebAssembly System Interface (WASI) with C/Rust use cases
mpa-enhancer - Minimalist JavaScript to make your MPA work that much better
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
wordpress-playground - Run WordPress in the browser via WebAssembly PHP
tomlrs-php - Rust extension to bring fast TOML parsing to PHP