PHP Classes

nDialog: Display dialog windows in text consoles

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-02-12 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,219 This week: 1All time: 2,982 This week: 1,063Up
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: 43
All time rank: 1969255 in United States United States
Week rank: 869 Up105 in United States United States Up
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,219All time:2,982
 This week:1This week:1,063Up