looking for transpiler: php to javascript

aurora picture aurora · Jan 3, 2010 · Viewed 8k times · Source

i wonder, if there's any transpiler available, which converts (simple) php code to javascript?

what i am not looking for is ajax stuff or javascript libraries imitating php functionality, but i am looking for a translater, which is able to generate javascript code from php code (similar of what google is doing with GWT and the java-to-javascript transpiler).

thanks!

Answer

justspamjustin picture justspamjustin · Jan 23, 2014

The uniter php to js transpiler can do this: http://asmblah.github.io/uniter/