Add the following requirements in the project's composer.json
file:
"silex/web-profiler": "~1.0",
"pomm-project/pomm-profiler-service-provider": "dev-silex-1"
<?php // bootstrap.php
$app->register(new Silex\Provider\ServiceControllerServiceProvider());
$app->register(new Provider\WebProfilerServiceProvider(), array(
'profiler.cache_dir' => PROJECT_DIR.'/cache/profiler',
'profiler.mount_prefix' => '/_profiler', // this is the default
));
$app->register(new PommProject\Silex\ProfilerServiceProvider\PommProfilerServiceProvider());