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,238 All time: 3,082 This week: 381Up
Version License PHP version Categories
ndialog 0.9.4GNU General Publi...4.0.7Console


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: 50
All time rank: 2081290 in United States United States
Week rank: 503 Up50 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  
This week:0
All time:3,082
This week:381Up