# Register Bundle

If you're using Symfony Flex (opens new window), this step has been done automatically for you. If not, you can register the bundle yourself:

// config/bundles.php

return [
    // Other bundles ...
    
    EonX\EasyBugsnag\Bridge\Symfony\EasyBugsnagBundle::class => ['all' => true],
];

# Configuration

The only required config is the api key from your Bugsnag organisation:

# config/packages/easy_bugsnag.yaml

easy_bugsnag:
    api_key: '%env(BUGSNAG_API_KEY)%'