Running PHP with… JavaScript?!
Yep, you heard that right. Using the power of WebAssembly we can run PHP code with just JavaScript, either directly in the browser or in a terminal window with Node.
In this video I’ll show you a couple ways this might be useful, and explain how to build a light-weight local dev environment using Express and PHP-WASM.
– 0:00 About WebAssembly
– 2:10 Running PHP with Node
– 5:08 Express as a Proxy
– 8:34 What Next?
Follow me on Twitter! https://twitter.com/aschmelyun
Join my newsletter, where I send out new information about twice each month in the PHP, JavaScript, and Docker realms: https://aschmelyun.substack.com
Comments are closed.