Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Xhprof Profiler Bundle Laravel Package

zim32/xhprof-profiler-bundle

Symfony bundle that integrates XHProf profiling into the Web Debug Toolbar and Profiler, helping you capture and inspect function call graphs, timings, and performance data to identify bottlenecks in PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Roadmap prioritization for performance work. Profiling data from dev/staging requests turns "the app feels slow" into a ranked list of hot functions, slow queries, and memory spikes — the evidence a PM needs to justify (or defer) a performance epic against feature work.
  • Build vs. buy on observability tooling. This package is a thin debug-toolbar panel over an existing PHP extension (Tideways XHProf), which lets you frame the real decision: free self-hosted profiling vs. paid APM (Blackfire, Tideways SaaS, Datadog) vs. build-in-house. The toolbar UI is the cheap part; instrumentation, storage, and flamegraph analysis are the expensive part.
  • Technical-debt backlog ordering. Concrete per-endpoint cost data lets you rank refactors by user-facing or infra-dollar impact instead of by developer intuition, and gives you a defensible "we fixed the 3 worst endpoints, latency dropped X%" narrative for stakeholders.
  • Release/pull-request gating policy. Deciding where profiling lives in your SDLC — ad-hoc local debugging, a staging "profile this request" button, or automated CI regression thresholds — is a product/process decision with real cost tradeoffs, and this class of tool only covers the first.
  • Local developer-experience investment. A one-click profiler panel lowers the cost of performance investigation for every engineer; that's a DX budget line item you can weigh against onboarding time and debugging hours.
  • Use-case triage across the portfolio. Useful for internal admin tools, back-office apps, and B2B dashboards where a handful of slow pages dominate complaints; low value for stateless APIs dominated by I/O you don't control.

When to Consider This Package

Adoption criteria (all should hold):

  • You are on Symfony, not Laravel. This is a Symfony debug-toolbar bundle; a Laravel or framework-agnostic codebase cannot consume it without porting the bundle's panel. For Laravel, treat this as a reference design, not a dependency — equivalent ground is covered by Telescope, Laravel Debugbar, and Clockwork, with XHProf/XHGui or Blackfire for function-level data.
  • Your team already runs the Tideways XHProf PHP extension (or is willing to install and maintain a PECL extension on every dev machine and CI image) — the bundle is useless without that substrate.
  • Your need is interactive, developer-initiated profiling in local or staging environments only. It adds a toolbar page; it is not a production APM, has no alerting, no retention, no aggregation across requests.
  • You accept a bus factor of one and essentially zero adoption signal (2 stars, 0 dependents). That means: vendor the code, pin it, or be prepared to maintain the toolbar panel yourself. Do not put it on a critical path.
  • Scope is small: a single team, a monolith or a few services, and profiling is a "look when something's slow" activity rather than a continuous discipline.

Look elsewhere when:

  • You need production or continuous profiling, flamegraphs at scale, distributed tracing, or cross-request comparison — go to Blackfire, Tideways SaaS, Datadog Continuous Profiler, or self-hosted XHGui.
  • You need CI performance regression gates (p95 budget per endpoint, fail-the-build thresholds). This tool gives no automated assertions; you'd need a harness around it or a paid product.
  • Your stack is Laravel, Symfony-free, or polyglot — the integration value evaporates.
  • Your team has no appetite for maintaining PHP extensions and a low-traffic OSS fork; the operational and upgrade burden will exceed the tool's value within a quarter.
  • You're evaluating long-term supported dependencies with security patching expectations. A 2-star bundle with no dependents fails most procurement and maintenance-policy checks.

Recommended PM posture: evaluate, don't adopt. Timebox a one-day spike to see whether the toolbar panel produces insights your current tooling (framework profiler, query log, logs, APM trial) already gives you. Default recommendation is to standardize on an established profiler and let this package inform, not define, the requirements.

How to Pitch It (Stakeholders)

To executives: This is a small, free, open-source developer tool that surfaces where application requests spend their time. The strategic point is not the tool itself — it's that we can make performance work evidence-driven rather than anecdotal, which lets us defend every hour not spent on features. It carries no licensing cost, but it also carries essentially no community backing (2 GitHub stars, zero dependent projects), so I am not recommending we adopt it. I'm recommending we use it as a free benchmark in a one-day evaluation and then make a buy-vs-build call on profiling as a capability. Expected outcome: a clear recommendation on whether to fund a lightweight performance practice (self-hosted, low cost) or a paid APM seat (higher cost, less maintenance), with the tradeoff expressed in engineering hours saved per month.

To engineering: The bundle is a Symfony debug-toolbar panel that visualizes data from the Tideways XHProf extension — it's a UI layer, not an instrumentation engine. It answers "which functions and queries are hot on this request" in local/staging, with a click. It does not give us production profiling, retention, cross-request aggregates, flamegraphs at scale, or CI assertions. If we adopt, we own it: pin the version and be ready to maintain the panel. My ask is a one-day spike against two or three of our worst endpoints, plus a short write-up comparing the output to what our current tooling already shows. If the marginal insight is near zero, we close it and put the effort into a proper profiler rather than growing an unsupported dependency.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource