Buggregator integration for Yii
BSD-3-CLAUSE License
Integration package for Buggregator with Yii.
Install the package via composer:
composer require roxblnfk/yiigregator
If you use Yii with composer-config-plugin
, the package might be configured via environment variables only.
Roxblnfk\Yiigregator\Middleware\ProfilerMiddleware
middleware to the top of the middlewares list (possibly in the $params['middlewares']
).PROFILER_ENABLED=true
PROFILER_ENDPOINT=http://127.0.0.1:8000/api/profiler/store
[!NOTE]
http://127.0.0.1:8000/api/profiler/store
is the default value for the Buggregator endpoint.
[!NOTE] Depending on your environment, you may need to set the
PROFILER_ENDPOINT
to a different value. For example, if you are using Docker, you may need to set it tohttp://buggregator:8000/api/profiler/store
.
By default, XHProf is used for profiling. Make sure it is installed and enabled in your PHP configuration.
Yiigregator is open-sourced software licensed under the BSD-3 license.