{"library":"javascript-to-php","type":"library","category":null,"description":"A source-to-source transpiler that converts JavaScript (including ES6 features like classes, arrow functions, template strings, and namespaces) into PHP code. Current version 0.1.7-c is marked as experimental and not recommended for production use. It provides a CLI tool for file conversion and supports core JavaScript constructs, Array/JSON/Math/String methods, and Date. Maintained as a hobby project with no recent releases or active development.","language":"javascript","status":"deprecated","version":"0.1.7-c","tags":["javascript","php","transpiler","transcompiler"],"last_verified":"Fri May 01","install":[{"cmd":"npm install javascript-to-php","imports":["// CLI tool only, no programmatic API","js2php input.js > output.php"]},{"cmd":"yarn add javascript-to-php","imports":[]},{"cmd":"pnpm add javascript-to-php","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/javascript-to-php","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}