juanber84/profilercommand-bundle

This Bundle provides some commands tools in your Symfonyprofiler.

dev-master 2013-10-12 11:13 UTC

This package is not auto-updated.

Last update: 2024-11-05 03:57:57 UTC


README

SensioLabsInsight

Commands tools in your Symfonyprofiler. This is the master version, it can be unstable. You must user me 1.0 version (stable).

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