# Qihoo360/phptrace

A tracing and troubleshooting tool for PHP scripts.

Repository: https://github.com/Qihoo360/phptrace
Canonical: https://ross.abutalabs.com/products/phptrace
Language: C
License: Apache-2.0
License Family: permissive
Last push: 2018-11-28T15:12:11+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4264, "days_push": 2835, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1663, forks 382 (observed 2026-08-28T04:05:18.815623+00:00)

## What it is
phptrace is a low-overhead tracing and troubleshooting tool for PHP, consisting of a PHP extension and a CLI binary. It traces function calls, request information, and runtime status of live PHP processes, useful for diagnosing blocking and heavy-load issues in production.

## Use cases
- trace function calls of a running PHP process
- debug blocking or slow PHP scripts in production
- inspect runtime status of php-fpm workers
- filter traces by function, class, or URL
- find performance bottlenecks in PHP applications

## When to choose
- you need to debug a live PHP process without restarting it
- you want low-overhead tracing safe for production environments
- you need to see which functions a PHP script is calling in real time

## When to avoid
- you need distributed tracing across services - use its successor Molten or OpenTracing-based tools
- you are not working with PHP
- you need a maintained tool with recent updates - the last release was in 2018

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: tracing, monitoring, developer-tools
- domain: developer-tools, performance
- platform: cli, php
- tags: php-extension, production-debugging, function-call-tracing, low-overhead, debugging, linux, macos

## Member repositories
- Qihoo360/phptrace (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:18.815623+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:44:31.113904+00:00, confidence not recorded.
  - readme: https://github.com/Qihoo360/phptrace (fetched 2026-08-28T04:05:18.815623+00:00, sha 9543ad98aaa7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
