npm php 1.2.0

latest release: 2.0.0
3 months ago
  • Added runCode and runCodeWithData methods 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 run and runWithData, which were previously missing.
  • Updated various dependencies.

Don't miss a new php release

NewReleases is sending notifications on new releases.