marekskopal/buggregator-client

Buggregator client library for xhprof as PSR-15 middleware

Installs: 613

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/marekskopal/buggregator-client

v0.1.0 2024-03-11 21:59 UTC

This package is auto-updated.

Last update: 2025-09-19 17:48:11 UTC


README

Buggregator client library for xhprof as PSR-15 middleware.

Install

composer require marekskopal/buggregator-client

Usage

Use XhprofMiddleware class as PSR-15 middleware.

use MarekSkopal\BuggregatorClient\Middleware;

$xhprofMiddleware = new XhprofMiddleware(
    appName: 'MyApp',
    url: (string) getenv('PROFILER_ENDPOINT'),
));

//e.g. phpleague/route

$router->middleware($xhprofMiddleware);