PHPackages                             sikessem/tracer - 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. sikessem/tracer

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

sikessem/tracer
===============

A minimal and modern PHP library to capture, filter, and iterate over debug\_backtrace results with a fluent API.

v0.0.0(1y ago)012MITPHPPHP &gt;=8.2CI passing

Since Apr 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Sikessem/Tracer)[ Packagist](https://packagist.org/packages/sikessem/tracer)[ Docs](https://sikessem.github.io/packages/tracer)[ RSS](/packages/sikessem-tracer/feed)WikiDiscussions 0.x Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

[![Sikessem](https://github.com/sikessem/art/raw/HEAD/images/logo.svg)](https://github.com/sikessem "Sikessem") Tracer 🧐
========================================================================================================================

[](#-tracer-)

Tracer is a modern, minimalistic PHP package for capturing, filtering, and navigating execution traces (debug\_backtrace) with clarity and precision. It provides a clean, fluent, and iterable API that allows you to:

- Dynamically filter files, classes, methods, functions, lines, and more
- Ignore helper functions or internal frames to focus on relevant code
- Navigate through the trace stack with methods like peek(), each(), first(), etc.
- Determine whether a function, method, or class appears in the call stack
- Create clean, readable backtraces with zero dependencies

Tracer is ideal as a standalone utility or as a foundational component for more complex tools like [Exceptor](https://github.com/Sikessem/Exceptor), enabling precise and expressive debugging in modern PHP.

[![php-icon](https://camo.githubusercontent.com/a495e2521c355902af00ccd3ecc96905dc4335c9a03687e724ec13c185f3ed64/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322d6363632e7376673f7374796c653d666c6174266c6f676f3d706870)](https://github.com/sikessem/tracer/search?l=php "PHP code")[![packagist-version-icon](https://camo.githubusercontent.com/8d67101717016aae0bafdf086c94d4a87857a8d58ee72db762f09c138d443f0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696b657373656d2f747261636572)](https://packagist.org/packages/sikessem/tracer "Tracer Releases")[![packagist-download-icon](https://camo.githubusercontent.com/057c2f301e5be92b8243b18a19206e115657e6baa9e5f37d94eab2acd78a4ad3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696b657373656d2f747261636572)](https://packagist.org/packages/sikessem/tracer "Tracer Downloads")[![license-icon](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/sikessem/tracer/blob/HEAD/LICENSE "Tracer License")[![actions-icon](https://github.com/sikessem/tracer/workflows/CI/badge.svg)](https://github.com/sikessem/tracer/actions "Tracer status")[![twitter-icon](https://camo.githubusercontent.com/c53701b996bfb931dec8dd24508cac2beb06fdb15585aa71ff2e7158fff0395b/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f73696b657373656d2e7376673f6c6162656c3d4053696b657373656d4851)](https://twitter.com/intent/follow?screen_name=SikessemHQ "Ping Sikessem")

[Read the documentation to learn more](https://sikessem.github.io/packages/tracer "Tracer Documentation").

---

📖 Documentation
---------------

[](#-documentation)

The full documentation for the Sikessem Tracer can be found [here](https://sikessem.github.io/packages/tracer "Tracer Documentation").

👏 Contribution
--------------

[](#-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](https://sikessem.github.io/code-of-conduct "Sikessem's Code of Conduct")

[](#-code-of-conduct)

[Sikessem](https://github.com/sikessem "Sikessem") has adopted a Code of Conduct that we expect project participants to adhere to. Please read the [full text](https://sikessem.github.io/code-of-conduct "Sikessem's Code of Conduct") so that you can understand what actions will and will not be tolerated.

### 👥 [Contributing Guide](https://sikessem.github.io/contributions "PRs welcome!")

[](#-contributing-guide)

Read our [**Contributing Guide**](https://sikessem.github.io/contributions "PRs welcome!") 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

[](#️-good-first-issues)

We have a list of [good first issues](https://github.com/sikessem/tracer/labels/good%20first%20issue) 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

[](#-discussions)

Larger discussions and proposals are discussed in [**Sikessem's GitHub discussions**](https://github.com/orgs/sikessem/discussions "Sikessem's GitHub discussions").

🔐 Security Reports
------------------

[](#-security-reports)

If you discover a security vulnerability within [any of Sikessem's projects](https://github.com/sikessem "Sikessem"), please email [SIGUI Kessé Emmanuel](https://siguici.deno.dev) at . All security vulnerabilities will be promptly addressed.

📄 License
---------

[](#-license)

The Sikessem Tracer is open-sourced software licensed under the [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE](https://github.com/sikessem/tracer/blob/HEAD/LICENSE "Tracer License") file for details.

---

Made with ❤︎ by [@siguici](https://twitter.com/intent/follow?screen_name=siguici).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance45

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

428d ago

### Community

Maintainers

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

---

Top Contributors

[![siguici](https://avatars.githubusercontent.com/u/62618356?v=4)](https://github.com/siguici "siguici (5 commits)")

---

Tags

backtracephpsikessemtracerphpdebugBacktracetracingtracestacktracedebug\_backtracecall stack

### Embed Badge

![Health badge](/badges/sikessem-tracer/health.svg)

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

###  Alternatives

[php-sage/sage

☯ Insightful PHP debugging assistant.

5645.7k6](/packages/php-sage-sage)[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

191.1M3](/packages/jbzoo-jbdump)[h4cc/phpqatools

A meta composer package for PHP QA Tools.

6118.6k1](/packages/h4cc-phpqatools)[kuria/error

Makes handling and debugging PHP errors suck less

1920.5k2](/packages/kuria-error)

PHPackages © 2026

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