PHPackages                             topthink/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. topthink/think-trace

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

topthink/think-trace
====================

thinkphp debug trace

v2.0(1y ago)81.4M—4.1%10[2 issues](https://github.com/top-think/think-trace/issues)[3 PRs](https://github.com/top-think/think-trace/pulls)20Apache-2.0PHPPHP &gt;=8.0

Since Oct 1Pushed 11mo ago3 watchersCompare

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

READMEChangelog (8)Dependencies (1)Versions (10)Used By (20)

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

[](#think-trace)

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

安装
--

[](#安装)

```
composer require topthink/think-trace

```

配置
--

[](#配置)

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

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

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance44

Moderate activity, may be stable

Popularity47

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~260 days

Recently: every ~452 days

Total

9

Last Release

386d ago

Major Versions

v1.6 → v2.02025-06-12

PHP version history (2 changes)v1.0PHP &gt;=7.1.0

v2.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7858077?v=4)[topthink](/maintainers/topthink)[@topthink](https://github.com/topthink)

---

Top Contributors

[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (18 commits)")[![big-dream](https://avatars.githubusercontent.com/u/9215157?v=4)](https://github.com/big-dream "big-dream (1 commits)")

### Embed Badge

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

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

###  Alternatives

[zoujingli/think-library

Core library and common services for ThinkAdmin

8373.4k20](/packages/zoujingli-think-library)[xiaodi/think-whoops

A debug service for ThinkPHP.

393.6k1](/packages/xiaodi-think-whoops)[ichynul/tpextmyadmin

thinkphp extension

141.6k](/packages/ichynul-tpextmyadmin)

PHPackages © 2026

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