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

facebook/xhprof

XHProf is a lightweight PHP function-level profiler for measuring performance and memory usage. Collects call graphs, timing, and resource metrics to help find bottlenecks in production or development, with data suitable for analysis and visualization.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

XHProf is a legacy PHP extension for function-level profiling, not a Composer-based package. Its architecture requires server-level installation via PECL, making it incompatible with Laravel's typical dependency management. Integration feasibility is low due to manual server configuration needs and lack of native Laravel integration. Technical risks include potential PHP 8+ incompatibility (original Facebook version is unmaintained), security vulnerabilities from outdated code, and performance overhead in production. Key questions: Is the project actively maintained? Does the forked version (e.g., longxinH/xhprof) support modern PHP? How does it compare to Tideways/Blackfire for Laravel-specific profiling needs?

Integration Approach

Stack fit is poor—Laravel’s ecosystem favors modern tools like Laravel Debugbar or New Relic, which integrate seamlessly via Composer. Migration would require replacing existing profiling solutions with manual XHProf setup, including server-side extension installation and custom middleware to trigger profiling. Compatibility risks are high for PHP 8+ without verified forks. Sequencing should prioritize evaluating alternatives first; if forced to use XHProf, deploy in staging environments to test stability before production rollout,

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.
adachsoft/command-executor-lib
tagixo/document-builder
tagixo/page-builder
tagixo/mail-builder
tagixo/form-builder
primix/primix
tagixo/core
alesima/laravel-azure-service-bus
tomshaw/shopcart
likyly/laravel
darthsoup/shoppingcart
tdt/core
labyrinthe/connect-php
encore2/laravel-admin2
cboxdk/laravel-console-kit
shapecode/doctrine-dbal-datetimeutc
gilads-otiannoh254/inertia-protocol
dakiquang/laravel-oauth-refresh-lock
woda/laravel-worktrees
dalefranks/ramasite