PHP Classes
Icontem

Class: AShell


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sylvain Rabot  >  AShell  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: AShell Support forum
Base name: ashell
Description: Manage a command line shell in pure PHP
Related top rated classes: ,
Version: -
Required PHP version: 5.0.0
License: GNU Lesser General Public License (LGPL)
All time users: 989 users
All time rank: 2503
Week users: 3 users
Week rank: 2023
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Sylvain Rabot
Name: Sylvain Rabot <e-mail contact>
Published packages: 6 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: http://absynthe.is.free.fr/
Age: 22
All time rank: 321
Week rank: 285

Innovation Award

PHP Programming Innovation award nominee
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

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Console Command line and console utilities View top rated classes

Detailed description

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.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Homepage Homepage

Files

File Role Description
Plain text file ashell.class.php Class Sources
Plain text file shell.php Example Example
Download all files: ashell.tar.gz ashell.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products