axulum / axulum-webprofiler-provider

此包已弃用且不再维护。未建议替代包。

axulum (silex) 的扩展 Webprofiler

2.0.0 2016-07-14 06:35 UTC

This package is not auto-updated.

Last update: 2020-09-22 19:06:42 UTC


README

与 plain silex-php 兼容

Build Status Total Downloads Latest Stable Version Scrutinizer Code Quality

特性

  • 增强默认的 silex web profiler,增加数据库信息

要求

  • php >= 5.5
  • jdorn/sql-formatter ~1.1
  • psr/log 1.0.*
  • silex/silex ~2.0
  • silex/web-profiler ~2.0

安装

需要来自 silex 的 SilexWebProfiler

$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());