{"library":"glayzzle","type":"library","category":null,"description":"Glayzzle is a PHP-to-JavaScript transpiler and CLI that allows running PHP scripts using Node.js or in the browser. As of version 0.3.0 (released circa 2016), it is a proof-of-concept with limited functionality: basic PHP syntax transpilation, file execution via CLI, and a simple server mode using Node.js cluster. It does not support many PHP features like PDO, dynamic variable names, or full function libraries. The project appears to be pre-alpha and is not suitable for production use. Differentiators: transpiles PHP to JS using generators/promises for async I/O, targets Node.js ecosystem.","language":"javascript","status":"abandoned","version":"0.3.0","tags":["javascript","php","transpiler"],"last_verified":"Fri May 01","install":[{"cmd":"npm install glayzzle","imports":["const glayzzle = require('glayzzle')","npx glz -r 'echo \"hello\";'","const Glayzzle = require('glayzzle').Glayzzle; const g = new Glayzzle()"]},{"cmd":"yarn add glayzzle","imports":[]},{"cmd":"pnpm add glayzzle","imports":[]}],"homepage":"http://glayzzle.com","github":"https://github.com/glayzzle/glayzzle","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/glayzzle","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}