mervick/yii2-adminlte-debug
最新稳定版本:v1.0.0
Composer 安装命令:
composer require mervick/yii2-adminlte-debug
包简介
Yii2 AdminLTE Debug Extension
README 文档
README
Modified yiisoft/yii2-debug for mervick/yii2-adminlte.
Installation
This package required by mervick/yii2-adminlte.
If you want install this manually, open terminal and run:
php composer.phar require "mervick/yii2-adminlte-debug" "*"
or add to composer.json
"require": { "mervick/yii2-adminlte-debug": "*" }
Usage
In your config file (it's maybe config/main.php or config/main-local.php) add the following lines:
if (!YII_ENV_TEST) { // configuration adjustments for 'dev' environment $config['bootstrap'][] = 'debug'; $config['modules']['debug'] = [ 'class' => 'mervick\adminlte\debug\Module', 'controllerNamespace' => 'mervick\adminlte\debug\controllers', 'allowedIPs' => ['*'], // for all ips with 'dev' role 'allowedRoles' => ['dev'], ]; }
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-06-25