Curses for PHP on Windows
Is there a Windows equivalent of ncurses for PHP?
I've created a CLI script and want to display various statistics (currently processed record, completion percentage etc.) in a nice way, without outputting loads and heaps o开发者_StackOverflowf text to the cmd.exe window.
The ncurses extension doesn't work on Windows.
ncurses only works for unix-like environments so you can use cygwin but [Link outdated] looks promising. Check it out and let me know!
(Edit Apr 2016: removed the link as it's out of date and clicking on it takes you down a nasty path.)
There is pdcurses which I believe works in a windows console window. The aren't any PHP bindings so you would need to build your own.
精彩评论