PHP Classes

PHP Query Terminal: Run command classes from an interactive console

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (19)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-06-15 (Yesterday) RSS 2.0 feedStarStarStar 55%Total: 608 All time: 5,149 This week: 73Up
Version License PHP version Categories
php-query-terminal 0.12The PHP License5PHP 5, Console, AJAX
Description 

Author

This package can run command classes from an interactive console.

It can display an interactive terminal console on a Web page that takes commands typed by the user and submits AJAX requests to execute the commands.

The main class maps commands to classes that are loaded on demand and called to generate the output of requested commands.

The command parameters typed by the user are also passed to the command classes.

The user must login first before he can request to execute any commands.

New custom commands can be supported by adding the respective classes in the commands directory. Custom command classes need to extend the base command class that implements base command behavior.

Innovation Award
PHP Programming Innovation award winner
May 2014
Winner


Prize: One book of choice by Packt
Sometimes it is interesting to test the way certain classes work without having to write complete scripts.

This class makes it possible to test the functionality of a class using a Web based terminal console to execute calls to PHP classes.

Manuel Lemos
Picture of Andoitz Jordan Marmolejo
  Performance   Level  
Name: Andoitz Jordan Marmolejo <contact>
Classes: 7 packages by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

Details

phpquery 0.1 ======== PHPQuery Terminal is a PHP terminal that works with Ajax and PHP Classes. Really easy to use. Write a command and the class with the same name will be executed. Also, you can send it a few commands that will be used as parameters. For use the PHPQuery terminal you need to login. In this example I have created a test user. Username: test. Password: test. Use the help command for learn to use it. PHPQuery Terminal idea was based in UNIX behavior. You can add new classes, create and edit it. In this version are available a few commands only example about how to use it. Example for most simple command (hello.php): class helloworld extends Command{ public function init($params){ $result = "Hello!"; $this->data = $result; } } To use this command is really simple. Only write "hello" in the PHPQuery Terminal. For more information and download new versions please visit http://www.andoitz.com

Screenshots  
  • screenshot
  Files folder image Files  
File Role Description
Files folder imageclass (5 files)
Files folder imagecommands (4 files)
Files folder imagehome (1 directory)
Files folder imagetemplates (1 directory)
Accessible without login Plain text file index.php Example Main script fot launch the classes
Accessible without login Image file phpquery.bmp Data Auxiliary data
Accessible without login Plain text file PHPQuery.txt Doc. Leeme Document
Accessible without login Plain text file README.md Data Leeme Document
Accessible without login Plain text file Thumbs.db Data Auxiliary data

  Files folder image Files  /  class  
File Role Description
  Plain text file command.php Class Parent class of Commans classes
  Plain text file commands.php Class Class with all commands
  Plain text file kernel.php Class Main class
  Plain text file template.php Class Class for View Terminal template
  Plain text file user.php Class Class for manage User login

  Files folder image Files  /  commands  
File Role Description
  Accessible without login Plain text file helloworld.php Example Class example for command
  Accessible without login Plain text file help.php Example Class example for command
  Accessible without login Plain text file logout.php Example Class example for command
  Accessible without login Plain text file ls.php Example Class example for command

  Files folder image Files  /  home  
File Role Description
Files folder imagetest (1 file)

  Files folder image Files  /  home  /  test  
File Role Description
  Accessible without login Plain text file mythings.txt Data Example document for ls class

  Files folder image Files  /  templates  
File Role Description
Files folder imageterminal (4 files)

  Files folder image Files  /  templates  /  terminal  
File Role Description
  Accessible without login Plain text file index.php Aux. Main template script
  Accessible without login Plain text file jquery-1.11.1.min.js Data jQuery Library 1.11.1
  Accessible without login Plain text file phpquery.css Data CSS for template phpquery terminal
  Accessible without login Plain text file phpquery.min.js Data javascript for phpquery terminal

 Version Control Unique User Downloads Download Rankings  
 95%
Total:608
This week:0
All time:5,149
This week:73Up
User Ratings User Comments (1)
 All time
Utility:68%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:68%StarStarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1989
 
This is a very interesting class :-)
10 years ago (José Filipe Lopes Santos)
80%StarStarStarStarStar