承接 jeromemacias/silex-debug 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

jeromemacias/silex-debug

Composer 安装命令:

composer require jeromemacias/silex-debug

包简介

An integration of the Symfony var dumper for Silex

README 文档

README

The Silex Debug service provider allows you to use the wonderful Symfony VarDumper component in your Silex application. It provide an integration with the Symfony web profiler toolbar and Twig.

To install this library, run the command below and you will get the latest version:

composer require jeromemacias/silex-debug ~2.0@dev

And enable it in your application:

use Silex\Provider;

$app->register(new Provider\DebugServiceProvider(), array(
    'debug.max_items' => 250, // this is the default
    'debug.max_string_length' => -1, // this is the default
));

The provider depends on WebProfilerServiceProvider, so you also need to enable this if that's not already the case:

$app->register(new Provider\WebProfilerServiceProvider());

Make sure to register all other required or used service providers before DebugServiceProvider.

统计信息

  • 总下载量: 3.39k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-27