Commands tools in your Symfonyprofiler
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Controller
DataCollector
DependencyInjection
Resources
Tests/Controller
Juanber84ProfilercommandBundle.php
README.md
composer.json

README.md

ProfilercommandBundle -- DEV

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