Description
I'd like to create a prototype of my board game designs using Tabletop Playground & boardgame.io, and then reuse the code I've written, without having to rewrite everything, as the basis for a BoardGameArena version. BGA unfortunately doesn't support nodejs on the backend, and requires PHP. I haven't found a good way to work around this - the best Idea I have would be executing node from within PHP, which I have a feeling wouldn't work on BGA.
I've looked around to see if there are any mature tools for transpiling JS/TS code to PHP, and found a few prototypes that don't seem ready for primetime. I tried to find a PHP nodejs interpreter library, and similarly, didn't have any luck. So AFAIK, the only way to pull this off would be to have a PHP port of the boardgame.io server, then continue using the boardgame.io JS client.
I noticed that this library unfortunately isn't in active development anymore, which is a shame, so I doubt this will happen, but it would be great if it did.