works with plain silex-php
- Enhance the default silex web profiler with database informations
- php >=5.5
- jdorn/sql-formatter ~1.1
- psr/log 1.0.*
- silex/silex ~2.0
- silex/web-profiler ~2.0
The SilexWebProfiler from silex itself is needed!
$app->register(new Provider\WebProfilerServiceProvider(), array(
'profiler.cache_dir' => __DIR__.'/../cache/profiler',
'profiler.mount_prefix' => '/_profiler', // this is the default
));
$app->register(new Saxulum\SaxulumWebProfiler\Provider\SaxulumWebProfilerProvider());