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
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-15