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.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
This package is a CLI tool, not a library. There is no programmatic API.
Use the command line. There are no JavaScript exports.
Install the CLI tool globally and convert a JavaScript file to PHP, then optionally run the PHP output.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.