PHPackages                             axy/backtrace - 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. axy/backtrace

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

axy/backtrace
=============

Tracing in PHP

3.0.1(3y ago)61.9M↓14.2%2[1 PRs](https://github.com/axypro/backtrace/pulls)2MITPHPPHP &gt;=8.1

Since Dec 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/axypro/backtrace)[ Packagist](https://packagist.org/packages/axy/backtrace)[ Docs](https://github.com/axypro/backtrace)[ RSS](/packages/axy-backtrace/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (15)Used By (2)

axy\\backtrace
==============

[](#axybacktrace)

Backtrace helper library (PHP).

[![Latest Stable Version](https://camo.githubusercontent.com/03c3e2a5055ec6192cacd2d23942eed08670324a90d8094432c8933312e5d444/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6178792f6261636b74726163652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axy/backtrace)[![Minimum PHP Version](https://camo.githubusercontent.com/2d18ce514c7016022dad012ac9e39a8b6f47cc411b2daff6627cbf208f8cea63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Tests](https://github.com/axypro/backtrace/actions/workflows/test.yml/badge.svg)](https://github.com/axypro/backtrace/actions/workflows/test.yml)[![Coverage Status](https://camo.githubusercontent.com/7f9517e32820450046b8fb9771d39ed98a625f95006b0130920e1a0f0bbb60e9/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f61787970726f2f6261636b74726163652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/axypro/backtrace?branch=master)[![License](https://camo.githubusercontent.com/f9bb1b625fa4b1020e9ba292e594b93de50920b371c261665169d54db289116c/68747470733a2f2f706f7365722e707567782e6f72672f6178792f6261636b74726163652f6c6963656e7365)](LICENSE)

### Documentation

[](#documentation)

This library contains some tools to simplify the work with the call stack.

The library is intended primarily for debug. For example, it is used in [axypro/errors](https://github.com/axypro/errors) library for cut uninformative part of the stack. (when displaying an exception).

#### The library classes

[](#the-library-classes)

- [Trace](doc/Trace.md): the call stack.
- [ExceptionTrace](doc/ExceptionTrace.md): the point of an exception.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~281 days

Recently: every ~375 days

Total

13

Last Release

1159d ago

Major Versions

0.0.2 → 1.0.02014-12-21

1.0.7 → 2.0.02019-02-02

2.0.0 → 3.0.02023-03-15

PHP version history (3 changes)0.0.1PHP &gt;=5.4.0

2.0.0PHP &gt;=7.1

3.0.0PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![vasa-c](https://avatars.githubusercontent.com/u/557081?v=4)](https://github.com/vasa-c "vasa-c (124 commits)")

---

Tags

debugBacktraceexceptiontrace

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/axy-backtrace/health.svg)

```
[![Health](https://phpackages.com/badges/axy-backtrace/health.svg)](https://phpackages.com/packages/axy-backtrace)
```

###  Alternatives

[kuria/error

Makes handling and debugging PHP errors suck less

1920.0k2](/packages/kuria-error)[awesomite/error-dumper

Pretty preview of errors and exceptions

238.2k1](/packages/awesomite-error-dumper)

PHPackages © 2026

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