定制 maltyxx/debugbar 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maltyxx/debugbar

最新稳定版本:v1.0.3

Composer 安装命令:

composer require maltyxx/debugbar

包简介

PHP Debug Bar for Codeigniter 3

README 文档

README

Debugbar for Codeigniter 3

Requirements

  • PHP 5.3.x (Composer requirement)
  • CodeIgniter 3.0.x

Installation

Step 1 Installation by Composer

Run composer

composer require maltyxx/debugbar

Step 2 Configuration

Edit file ./application/config/config.php set $config['composer_autoload'] = FALSE; to $config['composer_autoload'] = FCPATH.'vendor/autoload.php';

Duplicate configuration file ./application/third_party/debugbar/config/profiler.php in ./application/config/profiler.php.

Step 3 Create files

Create controller file in /application/controllers/Debug.php.

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require(APPPATH.'/third_party/debugbar/controllers/Debug.php');

Step 4 Examples

Controller file is located in ./application/core/MY_Controller.php.

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class MY_Controller extends CI_Controller
{
    public function __construct() {
        parent::__construct();

        $this->load->add_package_path(APPPATH.'third_party/debugbar');
        $this->load->library('console');
        $this->output->enable_profiler(TRUE);

        $this->console->debug('Hello world !');
    }
}

统计信息

  • 总下载量: 15.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 3
  • Forks: 24
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固