定制 sikessem/debugger 二次开发

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

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

sikessem/debugger

最新稳定版本:v0.0.0

Composer 安装命令:

composer create-project sikessem/debugger

包简介

🐛 Debug a PHP script easily by following its backtrace.

README 文档

README

sikessem-logo


php-icon packagist-version-icon packagist-download-icon license-icon actions-icon pr-icon twitter-icon

🐛 Sikessem Debugger

Debug a PHP script easily by following its backtrace.

🔖 Contents

📋 Requirements

  • Requires PHP 8.1+ (at least 8.1.19 recommended to avoid potential bugs).
  • Requires Composer v2+ to manage PHP dependencies.

🎉 Getting Started

⚡️ Installation

Install Debugger using Composer:

  • By adding the sikessem/debugger dependency to your composer.json file:
{
    "require" : {
        "sikessem/debugger": "self.version"
    }
}
  • Or by including the dependency:
composer require sikessem/debugger --no-dev

🧑‍💻 Usage

<?php

$trace = backtrace();

$trace->getStack(); // Returns the trace stack

$trace->getDirectory(); // Returns the trace directory

$trace->getFile(); // Returns the trace file

$trace->getLine(); // Returns the trace line

$trace->getClass(); // Returns the trace class

$trace->getObject(); // Returns the trace object

$trace->getFunction(); // Returns the trace function

$trace->getType(); // Returns the trace type

$trace->getArgs(); // Returns the trace args

var_dump($trace); // Dumps the trace stack

📖 Documentation

The full documentation for the Sikessem Debugger can be found on this address.

👏 Contribution

The main purpose of this repository is to continue evolving Sikessem. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Sikessem.

👷 Code of Conduct

Sikessem has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

👥 Contributing Guide

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Sikessem.

🔒️ Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

💬 Discussions

Larger discussions and proposals are discussed in Sikessem's GitHub discussions.

🔐 Security Reports

If you discover a security vulnerability within Sikessem, please email SIGUI Kessé Emmanuel at contact@sigui.ci. All security vulnerabilities will be promptly addressed.

📄 License

The Sikessem Debugger is open-sourced software licensed under the MIT License - see the LICENSE file for details.

Made with ❤︎ by @siguici.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-15