lambdalicious
lambdalicious copied to clipboard
REPL
Based on http://psysh.org/ or https://github.com/d11wtq/boris
psysh is probably the best choice
It should delegate printing output to dump(), which in turn can deal with datastructures like pair().
You can add custom Presenters to PsySH to print output however makes sense for your data. See, for example, how Laravel does theirs here: https://github.com/laravel/framework/pull/7208#issuecomment-75386250