KinoPHP (kino_php v0.2.0)

Summary

Functions

Prints Terminal output into a Kino frame.

Executes a PHP script the result.

Functions

Link to this function

append_to_frame(frame, text)

Prints Terminal output into a Kino frame.

Examples

  frame = Kino.Frame.new() |> Kino.render()
  KinoPHP.append_to_frame(frame, "hello")
  KinoPHP.append_to_frame(frame, [:green, " world"])
Link to this function

eval(code, on_output)

Executes a PHP script the result.

Link to this function

get_notebook_path!()