XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
Star History
Momentum
+65
STARS · LAST 30 DAYS
2
PER DAY
#113
MOST-STARRED PHP
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +14 | +65 | +180 |
| Per day | 2 | 2 | 2 |
| Forks gained | +5 | +18 | +45 |
xhprof gained 65 stars in the last 30 days, about 2 a day, and now has 2.6K. It is about 17 years old and has averaged roughly 153 stars a year. It ranks #113 among PHP repositories and #1,646 across all languages on GitHubRepo.
Trending Record
1
DAYS ON TRENDING
#2098
BEST RANK
Sep 28, 2026
FIRST APPEARANCE
Active
STATUS TODAY
xhprof has maintained a continuous presence across global trending indexes, peaking at #2098. Below is the 30-day activity profile:
💡 Overview
xhprof is an open-source project written in PHP: XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
Engineered for speed, consistency, and developer ease, it solves common hurdles in PHP. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in PHP for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/phacility/xhprof.git
cd xhprof
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
PHP >= 8.2 with Composer
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
xhprof coordinates its core functionality through a modular PHP pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed xhprof into PHP backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open Apache-2.0 license.
🚀 Getting Started
Install xhprof using your package manager: `git clone https://github.com/phacility/xhprof.git`
Initialize your project workspace or configuration file for xhprof.
Import xhprof into your codebase or invoke it directly from your terminal.
Execute your test suite or run `xhprof --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with PHP, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
phacility/xhprof is currently ranked #1,646 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #1,641 | WalletWasabi/WalletWasabi | C# | ★ 2.6K | Compare ↗ |
| #1,642 | alexbelgium/hassio-addons | Shell | ★ 2.6K | Compare ↗ |
| #1,643 | FreeRADIUS/freeradius-server | C | ★ 2.6K | Compare ↗ |
| #1,644 | NeuralNomadsAI/CodeNomad | TypeScript | ★ 2.6K | Compare ↗ |
| #1,645 | google/zerocopy | Rust | ★ 2.6K | Compare ↗ |
| #1,646 | phacility/xhprof This Project | PHP | ★ 2.6K | |
| #1,646 | yazinsai/OpenOats | Swift | ★ 2.6K | Compare ↗ |
| #1,648 | donetick/donetick | Go | ★ 2.6K | Compare ↗ |
| #1,649 | jgromes/RadioLib | C++ | ★ 2.6K | Compare ↗ |
| #1,649 | dedicatedcode/reitti | Java | ★ 2.6K | Compare ↗ |
| #1,651 | Agent-Field/agentfield | Go | ★ 2.6K | Compare ↗ |
Frequently Asked Questions
What does xhprof do? +
XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
What language is xhprof written in? +
The primary language is PHP. Topics include: software.
Is xhprof actively maintained? +
Yes, the last recorded push was on May 28, 2019 with 34 open issues being tracked.
How many stars does xhprof have? +
xhprof has 2,595 stars and 901 forks on GitHub.
How does xhprof rank among GitHub repositories? +
With 2,595 stars, phacility/xhprof is ranked #1,646 globally across all repositories tracked on GitHubRepo and #113 among PHP projects.
What license is xhprof distributed under? +
The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.