pomm-project / pomm-profiler-service-provider
Pomm Profiler Service Provider for the Silex 1.x microframework.
Installs: 25 117
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 3
Open Issues: 0
Requires
- php: >=5.4.4
- jdorn/sql-formatter: ~1.2
- pomm-project/pomm-service-provider: dev-silex-1
- pomm-project/pomm-symfony-bridge: 2.0.*@dev
- silex/web-profiler: ~1.0
- symfony/twig-bridge: ~2.5
- symfony/yaml: ~2.5
Suggests
- pomm-project/cli: 2.0.*@dev
- pomm-project/model-manager: 2.0.*@dev
This package is auto-updated.
Last update: 2024-10-07 18:46:22 UTC
README
Install
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"
Setup
<?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());