works with plain silex-php
- Enhance the default silex web profiler with database informations
- php >=5.3
- dominikzogg/doctrine-orm-manager-registry-provider ~1.2
- jdorn/sql-formatter ~1.1
- psr/log 1.0.*
- silex/silex ~1.0
- silex/web-profiler ~1.0
- symfony/doctrine-bridge ~2.3
The SilexWebProfiler from silex itself is needed!
$app->register(new Silex\Provider\WebProfilerServiceProvider(), array(
'profiler.cache_dir' => __DIR__.'/../cache/profiler',
'profiler.mount_prefix' => '/_profiler', // this is the default
));
$app->register(new Saxulum\SaxulumWebProfiler\Provider\SaxulumWebProfilerProvider());