php.js implements PHP functions in JavaScript. This is not the official repo and it only contains the functions directory.