cakephp-plugin console-plus
CakePHP Plugin that gives to console additional functionalities
cobaia/console-plus
CakePHP Plugin that gives to console additional functionalities
- Tuesday, May 21, 2013
- by krolow
- Repository
- 1 Watchers
- 7 Stars
- 25 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
ConsolePlus
Additional commands and helpers for CakePHP 2 Console., (*1)
What this Plugin provides:
-
ConsoleTable - A helper to output table data in console. (Not finished yet)
- ConsoleTree - A helper to output tree data in console; (Not implemented yet)
- RouterCommand - List of all routes defined in your application;
- InteractiveCommand - REPL for CakePHP
Usage
ConsolePlus.Router
php app/Console/cake.php ConsolePlus.Router
+---------------------------------------------------------------------------------------------------------------------------------+
| List of Routes |
+---------------------------------------------------------------------------------------------------------------------------------+
| Controller::action | Method | Route |
+---------------------------------------------------------------------------------------------------------------------------------+
| ContentsController::view($content) | ANY | /contents/view/{content}/ |
| ContentsController::detail($content, $test, $lol) | ANY | /contents/detail/{content}/{test}/{lol}/ |
| ContentsController::edit($id) | GET|PUT|DELETE|HEAD|OPTIONS | /contents/edit/{id}/ |
| ContentsController::edit($id) | POST | /edit/{id} |
| PagesController::display() | ANY | /pages |
| ToolbarAccessController::history_state($key) | ANY | /debug_kit/toolbar_access/history_state/{key} |
| ToolbarAccessController::sql_explain() | ANY | /debug_kit/toolbar_access/sql_explain |
+---------------------------------------------------------------------------------------------------------------------------------+
ConsolePlus.Interactive
, (*2)
License
Licensed under The MIT License
Redistributions of files must retain the above copyright notice., (*3)
Author
VinĂcius Krolow - krolow[at]gmail.com, (*4)