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 Laravel Package

lox/xhprof

XHProf profiling for Laravel. Easily profile requests and inspect performance data with middleware and configuration for enabling or disabling profiling in your application.

Deep Wiki
Context7

Product Decisions This Supports

  • Performance roadmap prioritization: profiling Laravel requests, jobs, and service methods to identify slow code paths and decide which performance work is worth scheduling.
  • Build vs. buy for observability: comparing a free, self-hosted XHProf-based approach against paid APM/profiling tools such as Blackfire, Tideways, Datadog, or New Relic.
  • Release and regression decisions: using before/after profiles to validate whether an optimization or architecture change actually improved latency or CPU usage.
  • Technical-debt triage: finding hotspots in legacy PHP/Laravel code so engineering effort can be aimed at high-impact modules rather than broad rewrites.
  • Capacity and cost conversations: giving concrete call-graph evidence for why infrastructure scaling, caching, query optimization, or code changes may be needed.
  • Tooling investment: deciding whether to standardize on XHProf internally, invest in a maintained profiler, or keep profiling limited to local/staging diagnostics.

This is a developer tooling dependency, not a customer-facing product feature. A PM should treat it as an input to engineering prioritization, not as a differentiator.

When to Consider This Package

Consider it when:

  • You need cheap, self-hosted PHP profiling for local, staging, or controlled diagnostic environments.
  • Your team already understands XHProf output or has existing XHProf-based tooling.
  • You need a Composer-installable XHProf fork to avoid manual extension setup.
  • Profiling is a short-term investigation, not a long-term platform commitment.
  • Apache-2.0 licensing and internal-only use are acceptable.
  • You can tolerate an archived, low-community package and are prepared to pin, fork, or replace it.

Look elsewhere when:

  • You need a maintained, vendor-supported profiler for modern PHP/Laravel versions.
  • You need production-safe continuous profiling, distributed tracing, or APM dashboards.
  • Security patching, PHP version compatibility, or long-term support are requirements.
  • You need CI performance budgets or organization-wide observability standards.
  • You cannot accept an archived dependency with limited stars and an unknown/unspecified repository.

How to Pitch It (Stakeholders)

To executives: This is a low-cost diagnostic tool that can help engineering target performance work where it matters. It is not a strategic platform bet and should not be treated as production infrastructure. The main value is faster, evidence-based decisions about where to invest engineering time.

To engineering: lox/xhprof is a Composer-packaged fork of XHProf that can provide call-graph profiling for PHP/Laravel code. It may be useful for short-lived performance investigations, but it is archived, niche, and not a safe long-term dependency. Adopt it only as a disposable dev/staging tool, pin the version, document the exit path, and avoid putting it on critical production paths. If profiling becomes ongoing, budget for a maintained alternative such as Blackfire, Tideways, or an OpenTelemetry-based approach.

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.
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
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource