定制 timosh/php-activerecord-profiler-service 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-25