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.
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager