pmvc-plugin/dev
最新稳定版本:0.4.5
Composer 安装命令:
composer require --dev pmvc-plugin/dev
包简介
PMVC Develop Util for get all app, plugs etc
README 文档
README
dev
How to set debug level
Best plug order
- put dev before debug, you could get most of plug trace
\PMVC\Load::plug([
'controller'=>null
,'dispatcher'=>null
/*dev*/
,'error'=>['all']
,'dev'=>null
,'debug'=>null
]);
Unit test tip
\PMVC\plug('debug',[
'output'=> '*Output Plugin*'
])->setLevel('*Test Level*', true);
\PMVC\plug('dev')->onResetDebugLevel();
phpunit
debug with cli
\PMVC\plug('dev')->debug_with_cli();
- display debug only (without trace)
\PMVC\plug('dev')->debug_with_cli('debug');
- accept multiple dump level
\PMVC\plug('dev')->debug_with_cli('debug, trace, help');
Why help also trigger dump
Install with Composer
CLICK TO SEE
### 1. Download composer * mkdir test_folder * curl -sS https://getcomposer.org/installer | php
2. Install by composer.json or use command-line directly
2.1 Install by composer.json
- vim composer.json
{
"require": {
"pmvc-plugin/dev": "dev-master"
}
}
- php composer.phar install
2.2 Or use composer command-line
- php composer.phar require pmvc-plugin/dev
or
- composer require pmvc-plugin/dev
统计信息
- 总下载量: 9.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-15