coresphere/console-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

coresphere/console-bundle

最新稳定版本:0.5.0

Composer 安装命令:

composer require coresphere/console-bundle

包简介

This bundle allows you accessing the symfony2 console via your browser

README 文档

README

Build Status Quality Score Code Coverage

This bundle allows you accessing the Symfony2 console via your browser.

Features

  • Colored output
  • Autocompletion for command names
  • Local command history (localStorage)
  • cache:clear works

Installation

  1. Make sure you have php 5.5 or newer installed. Make sure your composer file does not override the required php version of your project with in older one via the config.plattform.php setting.

  2. Install the latest version via composer:

    composer require coresphere/console-bundle
  3. Register the bundle in you AppKernel in the development section

    // app/AppKernel.php
    public function registerBundles()
    {
       $bundles = [
     		// other bundles here...
       ];
    
       if (in_array($this->getEnvironment(), ['dev', 'test'])) {
       	// ...
       	$bundles[] = new CoreSphere\ConsoleBundle\CoreSphereConsoleBundle();
    	}
    
       return $bundles;
    }
  4. Add the bundle's route to your app/config/routing_dev.yml

    # app/config/routing_dev.yml
    
    # ...
    _main:
    	resource: routing.yml
    
    coresphere_console:
    	resource: .
    	type: extra
  5. run the assets:install command to install the css and js files

    ./app/console assets:install web

Tips

  • Type .clear to clear the console window

Preview

Screenshot

Dependencies

  • jQuery
  • Twig

Compatibility

Tested with:

  • Chrome
  • Firefox 4
  • Opera 11
  • Safari 5

统计信息

  • 总下载量: 335.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 146
  • 点击次数: 1
  • 依赖项目数: 6
  • 推荐数: 1

GitHub 信息

  • Stars: 140
  • Watchers: 15
  • Forks: 53
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-09-24