Skip to content

This library is a refactor of J Randolph Smith's 2007 nDialog class. Fully functional, ready to use and with examples. PHP 5.4+

License

Notifications You must be signed in to change notification settings

jesuschristsuperstar/php_ncurses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This library is a refactor of J Randolph Smith's 2007 nDialog class. Fully functional, ready to use and with examples. PHP 5.4+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages