# 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\EasyNotification\Bridge\Symfony\EasyNotificationSymfonyBundle::class => ['all' => true],
];

# Configuration

The only required configuration is the API URL of the EonX Notification service your application is working with.

# config/packages/easy_notification.yaml

easy_notification:
    api_url: '%env(EONX_NOTIFICATION_API_URL)%'

    # You can optionally customise the expiry time for the cached config here.
    config_expires_after: 500 # Number of seconds