juanber84 / profilercommand-bundle
This Bundle provides some commands tools in your Symfonyprofiler.
Installs: 56
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 3
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: >=2.0.0
This package is not auto-updated.
Last update: 2024-11-05 03:57:57 UTC
README
Commands tools in your Symfonyprofiler. This is the master version, it can be unstable. You must user me 1.0 version (stable).
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