Command Line Specific Extensions
PHP Manual

Ncurses Terminal Screen Control