PHP Classes

nDialog: Display dialog windows in text consoles

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,242 All time: 3,083 This week: 40Up
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
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,242
This week:0
All time:3,083
This week:40Up