Skip to content

marekskopal/buggregator-client

Repository files navigation

Buggregator client

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);

About

Buggregator client library for xhprof as middleware

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages