pmvc-plugin/debug
最新稳定版本:0.7.13
Composer 安装命令:
composer require pmvc-plugin/debug
包简介
pmvc debug dump tool
README 文档
README
PMVC debug tool
Debug output plugin
- Debug for browser console
- Debug with json output (API... etc view.)
- https://github.com/pmvc-plugin/debug_store
- Use with view engine
- Use with command line (Bash ... etc shell script)
How to Trigger debug
- http -> $_REQUEST['--trace']
- cli -> -t
- if set -t and value is empty will force level to 'trace'
- such as "pmvc -t"
- pmvc -tdebug # it mean set to debug level.
- pmvc -t debug # same
- if set -t and value is empty will force level to 'trace'
- hardcode -> \PMVC\plug('debug')->setLevel('xxx');
- PHPUnit -> https://github.com/pmvc-plugin/dev/blob/master/tests/DevWithPhpUnitTest.php
Install with Composer
CLICK TO SEE
1. Download composer
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
2. Install Use composer.json or use command-line directly
2.1 Install Use composer.json
- vim composer.json
{
"require": {
"pmvc-plugin/debug": "dev-master"
}
}
- php composer.phar install
2.2 Or use composer command-line
- php composer.phar require pmvc-plugin/debug
or
- composer require pmvc-plugin/debug
统计信息
- 总下载量: 10.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-10