1.2.0
- Added
runCodeandrunCodeWithDatamethods so PHP code can be executed from memory instead of from a file. - Hardened input handling to prevent command injection.
- Altered thrown error message to include PHP error output instead of being written directly to stderr.
- Altered error thrown when failing to start PHP at all. It now reports the underlying spawn error instead of
PHP process exited with code undefined. - Added TypeScript definitions for
runandrunWithData, which were previously missing. - Updated various dependencies.
1.1.0
- Added
runandrunWithDatamethods so this module can be used as a general purpose PHP runner. - Updated various dependencies.
1.0.2
- Added TypeScript definitions.
- Various dependencies bumped.
1.0.1
- Renamed package from
express-php-view-enginetophp. Thanks to Elmer Bulthuis for transferring the package name. - Various dependencies bumped.
1.0.0
- Initial version of superseding project.
express-php-view-enginenotably does not attempt to finish the work of the oldphpmodule. Instead it allows the native PHP parser to execute as a child process within Express applications.
0.0.1
- Initial version of original project.
- Originally the
phpmodule on npm was used by a separate project that attempted to implement a PHP parser in JavaScript for Node.js, but was never finished. One work in progress version was published, then the project remained stale for 8 years.
- Originally the