BugSnag is now Insight Hub - we're making some changes to how the product looks, but this won't impact the way you use BugSnag or any of your integrations.

Advanced client configuration

Advanced BugSnag client usage for additional control over how and when BugSnag sends notifications.

Customizing transport

If you require using a proxy or a custom timeout length when sending error reports to BugSnag, you can provide a customized HTTP client via Guzzle. BugSnag will use the Guzzle instance bound to bugsnag.guzzle, if one exists.

// Customizable HTTP client
$this->app->singleton('bugsnag.guzzle', function () {
    return new GuzzleHttp\Client([
        'timeout' => 30,
        'proxy' => 'tcp://localhost:8125',
    ]);
});