f4lk0n/core-dev 问题修复 & 功能扩展

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

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

f4lk0n/core-dev

最新稳定版本:v1.0.0

Composer 安装命令:

composer require f4lk0n/core-dev

包简介

Debug helper

关键字:

README 文档

README

(PHP Composer Source Repository) Useful functions to debug server behavior, and provide a formated and structurated response.

VDD

F4lk0n VarDump functions to help visualize variable contents. Useful when, for some reason you don't have XDebug installed on the server and need to perform a quick analisys of the variables contents.

Content

Features:

  • Indicate variables types;
  • Indicate file and line of the caller; (When available at the server);
  • HTML formated output;
  • Stylized output;
  • Short name for easy typing while developing;

To Do (Future):

  • Avoid circular reference;
  • Customize output style;

Install

With compose add it to the required depencies:

  "require": {
    "f4lk0n/core-dev": "*"
  },

Manually, require all files or just the desired ones from the src/ folder:

<?php
  require "src/VDD.php";

Usage

Call the VD function passing the desired var, to print and continue; Call the VDD function, if you wanna print and stop execution.

<?php
  VD($someVarA);  //VarDump contents;
  VD($someVarB);  //VarDump contents;
  VD($someVarC);  //VarDump contents;
  VDD($someVarD); //VarDump contents and die;
  someFunction(); //Not called;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-15