Name: pomm-profiler-service-provider
Owner: pomm project
Description: Silex Profiler service provider for Pomm 2
Created: 2014-12-08 20:06:38.0
Updated: 2017-08-28 04:54:32.0
Pushed: 2016-11-26 09:20:48.0
Homepage: null
Size: 116
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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"
p // 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());