basteyy/var-debug 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

basteyy/var-debug

Composer 安装命令:

composer require basteyy/var-debug

包简介

Simple var dumper

README 文档

README

Sometimes you need to know what's inside a variable, but you don't want to use var_dump() because it's too verbose or whatever. This function is a better alternative. Just pass it a variable and it will return a page with the variable's contents in a readable format.

Usage

<?php
// get autoloader
require_once 'vendor/autoload.php';

// use the function
varDebug($variable);

Configuration

You deactive superglobals by setting the config value to false.

const VAR_DEBUG_REQUEST = false;        // $_REQUEST will not be shown
const VAR_DEBUG_POST = false;           // $_POST will not be shown
const VAR_DEBUG_GET = false;            // $_GET will not be shown
const VAR_DEBUG_SERVER = false;         // $_SERVER will not be shown
const VAR_DEBUG_BACKTRACE = false;      // backtrace will not be shown

Installation

composer require --dev basteyy/var-debug

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: CC0-1.0
  • 更新时间: 2021-12-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固