Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.99 KB

README.md

File metadata and controls

68 lines (48 loc) · 1.99 KB

PHP Ncurses Widget Library

Ncurses based terminal ui library for PHP applications. Works with PHP 5.4 or newer.

Widget List

  • Checklist [one column of checkboxes]

php_nurses_checklist

  • Confirm [a basic yes/no prompt]

php_nurses_confirm

  • Inputbox [supports multiple fields]

php_nurses_input_box

  • Menu [a select box with up to two columns of descriptive information]

php_nurses_menu

  • Messagebox [transition screen on a timer]

php_nurses_msgbox

  • Notice [an alert with an "ok" button]

php_nurses_notice

Prerequisites

To see if you have the ncurses extension installed:

$ php -m

If not listed, you'll need to:

pecl install ncurses

Composer

  • I didn't upload this to Packagist, because you can install directly from Github by adding the following to your composer.json:
"require": {
    "tecfu/php_ncurses": "*"
  },
  "repositories": [ 
    {
      "url":"https://github.com/tecfu/php_ncurses.git",
      "type":"git"
    }
  ]

License

GNU General Public License v3.0

Copyright (c) 2007 - 2017. J Randolph Smith, jesuschristsuperstar, tecfu, et. al.