# devtool **Repository Path**: leaganpt_admin/devtool ## Basic Information - **Project Name**: devtool - **Description**: 微擎开发工具 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2019-06-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # devtool 1. composer require we7/devtool v0.1.5 2. bootstrap.inc.php 第一行加入 ``` include IA_ROOT.'/vendor/autoload.php'; ``` 3. bootstrap.inc.php 最后一行加入 ``` we7debugbar(); ``` 4. db.class.php 修改 ``` $pdo = new $dbclass($dsn, $cfg['username'], $cfg['password'], $options); if(DEVELOPMENT && class_exists('\We7\Dev\DebugBar\W7\W7TraceablePDO')) { $pdo = new \We7\Dev\DebugBar\W7\W7TraceablePDO($pdo); } ```