PHPackages                             yangweijie/think-trace - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. yangweijie/think-trace

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

yangweijie/think-trace
======================

thinkphp debug trace

v1.8(2y ago)221Apache-2.0PHPPHP &gt;=7.4.0

Since Apr 28Pushed 2y agoCompare

[ Source](https://github.com/yangweijie/think-trace)[ Packagist](https://packagist.org/packages/yangweijie/think-trace)[ RSS](/packages/yangweijie-think-trace/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

think-trace
===========

[](#think-trace)

用于ThinkPHP6+的页面Trace扩展，支持Html页面和浏览器控制台两种方式输出。

安装
--

[](#安装)

```
composer require topthink/think-trace

```

配置
--

[](#配置)

安装后config目录下会自带trace.php配置文件。

type参数用于指定trace类型，支持html和console两种方式。

升级功能
----

[](#升级功能)

### type 为 Html 时，文件显示的地址可以直接跳转ide ，显示里sql产生的文件地址

[](#type-为-html-时文件显示的地址可以直接跳转ide-显示里sql产生的文件地址)

### 调试tab 显示内容格式化

[](#调试tab-显示内容格式化)

### type 为Console sql 显示发生的文:件行号。

[](#type-为console-sql-显示发生的文件行号)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

4

Last Release

786d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0b5f090a9bb92727e9c2e8281d05c2da5f2f9bf66cf1811714a9ffc0e383325?d=identicon)[yangweijie](/maintainers/yangweijie)

---

Top Contributors

[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (13 commits)")[![yangweijie](https://avatars.githubusercontent.com/u/1614114?v=4)](https://github.com/yangweijie "yangweijie (5 commits)")

### Embed Badge

![Health badge](/badges/yangweijie-think-trace/health.svg)

```
[![Health](https://phpackages.com/badges/yangweijie-think-trace/health.svg)](https://phpackages.com/packages/yangweijie-think-trace)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M435](/packages/ssch-typo3-rector)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[xiaodi/think-whoops

A debug service for ThinkPHP.

393.6k1](/packages/xiaodi-think-whoops)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
