Weave Code
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport