easybib / silex-qafoo-provider
Silex provider for the qafoo profiler
Installs: 16 348
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 16
Forks: 1
Open Issues: 0
Requires
- php: >=5.5.0
- silex/silex: ^2.0
Suggests
- ext-tideways: You should install ext/tideways: https://github.com/tideways/php-profiler-extension
- doctrine/dbal: If you'd like to use the fancy logger to profile queries.
README
Aka, the silex-tideways-provider!
Tideways? Qafoo?
Check out https://www.tideways.io.
Setup
$app['qafoo.profiler.key'] = '{enter here your qafoo/tideways key}'; $app['qafoo.profiler.sample_rate'] = 20; // value equals % $app->register(new \Easybib\Silex\Provider\QafooProfilerServiceProvider());
Configuration
List of options:
- qafoo.profiler.key (required)
- qafoo.profiler.sample_rate
- qafoo.profiler.route_blacklist
The provider will setup the qafoo profiler as soon as the register method is called.