 |
|
Innovation award
 Nominee: 3x |
This package can be used create and manage a command line shell in pure PHP.
It can read commands from the standard input and execute recognized commands implemented by separate classes.
The list of recognized commands can be customized by registering PHP classes that implement new custom command handler.
The main class enters in an event loop that displays a prompt, reads commands from the standard input and dispatches the commands calling the command handler classes. The loop ends when the exit command is executed.
Several built-in custom command handlers classes are provided to execute actions like listing all registered commands, providing usage help about a command and example hello world command.
 September 2007
Number 10 |
Scripting languages can be useful to command applications in a controlled fashion, i.e. giving the developer the ability to control the application without compromising the security and integrity of the application data.
This package implements a scripting language shell based on set a of commands implemented in PHP. The language can be extended by the means of new commands implemented by additional custom command classes.
It can be useful for implementing scripting languages to control PHP based applications.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|