sdeancos / ProfilercommandBundle

Commands tools in your Symfonyprofiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProfilercommandBundle -- ALPHA VERSION

Commands tools in your Symfonyprofiler

alt text

Add in your composer.json

{
    "require": {
        "juanber84/profilercommand-bundle": "dev-master"
    }
}

Add in your app/AppKernel.php

<?php

  // app/AppKernel.php
  public function registerBundles()
  {
    return array(
      // ...
      new Juanber84\Bundle\ProfilercommandBundle\Juanber84ProfilercommandBundle(),
      // ...
      );
  }

Add in your app/routing.yml

juanber84_profilercommand:
  resource: "@Juanber84ProfilercommandBundle/Resources/config/routing.yml"
  prefix: /

Your parameters.yml must will be...

parameters:
    // ...
    // ...
    // ...                
    profilercommand:
        front:
            cacheclear: 
                name: cache:clear
                command: cache:clear
            assetsinstall: 
                name: assets:install
                command: assets:install /Users/juanberzal/Desktop/Symfony/web  
            schemaupdate: 
                name: schema:update
                command: doctrine:schema:update --force
            dump: 
                name: dump
                command: assetic:dump
        profiler:
            cacheclear: 
                name: cache:clear
                command: cache:clear
            assetsinstall: 
                name: assets:install
                command: assets:install /Users/juanberzal/Desktop/Symfony/web   

About

Commands tools in your Symfonyprofiler


Languages

Language:PHP 100.0%