tecnocreaciones/console-bundle
最新稳定版本:0.1.0
Composer 安装命令:
composer require tecnocreaciones/console-bundle
包简介
This bundle allows you accessing the symfony2 console via your browser
README 文档
README
This bundle allows you accessing the Symfony2 console via your browser.
Features
- Colored output
- Autocompletion for command names
- Local command history (localStorage)
cache:clearworks
Installation
-
Add
coresphere/console-bundleto your composer.json file and runcomposer.phar install// composer.json "require": { ... "coresphere/console-bundle": "dev-master", ... } -
Add the following route to your routing configuration
#app/config/routing_dev.yml _console: resource: "@CoreSphereConsoleBundle/Resources/config/routing.yml" prefix: /_console -
Register the bundle in you AppKernel in the development section
// app/AppKernel.php public function registerBundles() { $bundles = array( // other bundles here... ); if (in_array($this->getEnvironment(), array('dev', 'test'))) { // ... $bundles[] = new CoreSphere\ConsoleBundle\CoreSphereConsoleBundle(); } return $bundles; } -
run the assets:install command to install the css and js files
./app/console assets:install web
Tips
- Type
.clearto clear the console window
Preview
Dependencies
- jQuery
- Twig
Compatibility
Tested with:
- Chrome
- Firefox 4
- Opera 11
- Safari 5
Todo
- Write Javascript tests
- Add console as "pop up" to web developer toolbar
- Figure out how to allow interactive mode (possible? extreme hacky?)
统计信息
- 总下载量: 176
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-27