Download the PHP package maantje/xhprof-buggregator-laravel without Composer
On this page you can find all versions of the php package maantje/xhprof-buggregator-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maantje/xhprof-buggregator-laravel
More information about maantje/xhprof-buggregator-laravel
Files in maantje/xhprof-buggregator-laravel
Package xhprof-buggregator-laravel
Short Description Xhprof buggregator integration for Laravel
License MIT
Homepage https://github.com/maantje/xhprof-buggregator-laravel
Informations about the package xhprof-buggregator-laravel
Xhprof support in buggregator for Laravel
Welcome to the Xhprof integration package for buggregator in Laravel. This repository allows you to effortlessly enable Xhprof support for buggregator in your Laravel application.
Installation
To get started, install the package via composer:
Usage
Set the buggregator endpoint in your environment file, the displayed value is the default value:
Toggle Xhprof in your environment file as needed, but remember to disable it when not in use to avoid performance impact
Alternatively, you can include the X-Xhprof-Enabled
header in your request to explicitly enable or disable profiling for that specific call. When this header is present, it takes precedence over the environment variable.
Enabled values: true
1
on
yes
Disabled values: false
0
off
no
This feature works great with a browser extension like ModHeader. It lets you switch profiling on and off right from your browser.
Usage with Sail
Add the buggregator service to your docker-compose file:
Set the profiler endpoint in your environment file:
License
The MIT License (MIT). Please see License File for more information.
All versions of xhprof-buggregator-laravel with dependencies
illuminate/contracts Version ^10.0|^11.0
spiral-packages/profiler Version ^1.0