定制 snicco/debug-bundle 二次开发

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

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

snicco/debug-bundle

Composer 安装命令:

composer require snicco/debug-bundle

包简介

README 文档

README

codecov Psalm Type-Coverage Psalm level PhpMetrics - Static Analysis PHP-Versions

This WordPress bundle can be used together with the snicco/http-routing-bundle in applications based on snicco/kernel.

The DebugBundle configures Whoops as the error handler for the middleware pipeline of your application.

This bundle should never be used in production.

Installation

composer install snicco/debug-bundle

Configuration

See config/debug.php for the available configuration options.

If this file does not exist in your configuration directory the default configuration will be copied the first time the kernel is booted in dev mode.

Usage

Add the DebugBundle to your bundles.php config file in the DEV environment.

<?php
// /path/to/configuration/bundles.php

use Snicco\Bundle\Debug\DebugBundle;

return [
    
    'bundles' => [
        Snicco\Component\Kernel\ValueObject\Environment::DEV => [
           DebugBundle::class
        ]   
    ]   
];

If the kernel environment is Environment::dev() the whoops error handler will automatically be used.

To disable the whoops error handler set the kernel env to Environment::dev(false) (Passing false as a second argument means "no debug").

Contributing

This repository is a read-only split of the development repo of the Snicco project.

This is how you can contribute.

Reporting issues and sending pull requests

Please report issues in the Snicco monorepo.

Security

If you discover a security vulnerability within BetterWPCache, please follow our disclosure procedure.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-only
  • 更新时间: 2022-04-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固