Awesome
ConsolePlus
Additional commands and helpers for CakePHP 2 Console.
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
<img src="http://s21.postimg.org/8g8ek1vk7/console_boris.gif" />License
Licensed under <a href="http://www.opensource.org/licenses/mit-license.php">The MIT License</a> Redistributions of files must retain the above copyright notice.
Author
VinÃcius Krolow - krolow[at]gmail.com