PHP Classes

nDialog: Display dialog windows in text consoles

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,241 All time: 3,081 This week: 571Up
Version License PHP version Categories
ndialog 0.9.4GNU General Publi...4.0.7Console
Description 

Author

Add nCurses style text menus and screens to your PHP CLI scripts.

It uses the ncurses extension to create several types of dialog windows like check lists, boolean choices, menus, text inputs, notice alerts, and message box.

The class displays the dialogs and waits for the user input. In the cases that the user needs to make a choice, the class returns the choice that was made.

Innovation Award
PHP Programming Innovation award nominee
February 2007
Number 5
PHP is mostly used to develop Web applications. However, PHP can also be used perfectly to develop command line applications.

ncurses is a popular library for developing text console based applications. The ncurses extension provides means to use the ncurses library to develop PHP applications with text based user interfaces.

This class uses the ncurses extension to quickly develop and handle common text based dialog types.

Manuel Lemos
Picture of John Smith
Name: John Smith <contact>
Classes: 1 package by
Country: United States United States
Age: 51
All time rank: 2080294 in United States United States
Week rank: 4375 Down547 in United States United States Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file examples.php Example Shows how to use the nDialog object
Accessible without login Plain text file nDialog.class.php Class nDialog Class Object

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,241
This week:0
All time:3,081
This week:571Up