Hyperphp

Hyperphp is a PHP library for running an AppleScript-like language.

The runtime is model-driven:

  • You register HyperApplication instances with HyperScript.
  • Script code uses tell application "..." and nested tell ... blocks.
  • Property and command resolution is handled through model conventions.

Core Ideas

  • Keep script syntax readable and concise.
  • Keep host integration explicit and strongly typed in PHP.
  • Support event/route style script handlers through on <verb> <subject> ... end <verb>.

Next Steps