eventhorizon / profiler-bundle
EventHorizonProfilerBundle
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 238
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: ~2.3
This package is not auto-updated.
Last update: 2019-06-08 03:21:44 UTC
README
This bundle is designed to improve profiling.
Installation
Add EventHorizonProfilerBundle in your composer.json:
{ "require": { // ... "eventhorizon/profiler-bundle": "dev-master" } }
Now tell composer to download the bundle by running the command:
$ php composer.phar update eventhorizon/profiler-bundle
Configuration
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { if (in_array($this->getEnvironment(), array('dev', 'test'))) { // ... $bundles[] = new EventHorizon\ProfilerBundle\EventHorizonProfilerBundle(); } }
# app/config/config_dev.yml services: data_collector.profiler: class: EventHorizon\ProfilerBundle\DataCollector\ProfilerCollector tags: - { name: data_collector, template: "EventHorizonProfilerBundle:Collector:profiler", id: "profiler" }