timosh/php-activerecord-profiler-service
Composer 安装命令:
composer require timosh/php-activerecord-profiler-service
包简介
install this to show sql queries in silex profiler
README 文档
README
PHP ActiveRecordProfilerService for Silex2. Actualy for using it you must install php activerecord service provider https://packagist.org/packages/timosh/php-activerecord-service-provider (it implements phpactiverecord.org to you profject) awcose for using profiler you have to install silex profiler and twig.
#Using
$app->register(new \ActiveRecordServiceProvider\ActiveRecord(array(
'ar.model_path' => __DIR__.'/Model',
'ar.default_connection' => 'development',
'ar.connections' => array(
'development' => 'mysql://user:password@host/database'
),
'db.active_record.logger'=> new ActiveRecordServiceProvider\Logger(), //here we enabling our logger
))
);
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-25