PHPackages                             halloverden/symfony-application-insights-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. halloverden/symfony-application-insights-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

halloverden/symfony-application-insights-bundle
===============================================

Enables Azure Application Insights monitoring

0.1.5(3y ago)2808MITPHPPHP &gt;=7.4

Since Oct 26Pushed 3y ago3 watchersCompare

[ Source](https://github.com/halloverden/symfony-application-insights-bundle)[ Packagist](https://packagist.org/packages/halloverden/symfony-application-insights-bundle)[ RSS](/packages/halloverden-symfony-application-insights-bundle/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Application Insights Bundle
===========================

[](#application-insights-bundle)

The Application Insights Bundle provides tools to register exceptions occurred in your Symfony application to Microsoft's Azure Application Insights. It makes use of the [Azure Application Insights package](https://github.com/halloverden/azure-application-insights) originally developed by Microsoft.

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require halloverden/symfony-application-insights-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require halloverden/symfony-application-insights-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    HalloVerden\ApplicationInsightsBundle\HalloVerdenApplicationInsightsBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

You have to register these values in your .env file:

```
###> symfony-application-insights-bundle ###
TRACKING_ENABLED=true # SET TO TRUE TO ENABLE THE BUNDLE
MICROSOFT_APP_INSIGHTS_INTRUMENTATION_KEY='cfa65c5d-61ac-4336-b47a-8491578d35f3' # INTRUMENTATION KEY REQUIRED TO SEND INFO TO AZURE APPLICATION INSIGHTS
EXCEPTION_TRACKING_ENABLED=true # SET TO TRUE TO ENABLE EXCEPTION TRACKING
EXCEPTION_TRACKING_IGNORE='["Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException"]' # LIST OF EXCEPTION TO BE IGNORED BY THE TRACKERS
###< symfony-application-insights-bundle ###
```

When both `TRACKING_ENABLED` and `EXCEPTION_TRACKING_ENABLED` are set to true, the Exception Subscriber provided by the bundle will listen for exceptions (ignoring those provided in the `EXCEPTION_TRACKING_IGNORE` parameter) and register them in a Telemetry Queue. The Terminate Subscriber will wait for the operation to be finished to then flush the queue and send the exceptions to Azure Application Insights. No additional code is required.

As of now, the bundle only supports exception tracking.

---

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~120 days

Recently: every ~150 days

Total

6

Last Release

1420d ago

PHP version history (2 changes)0.1.0PHP ^7.2

0.1.3PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/be037a51f809599999041698e48a3516363d070b3f4af00e1c90f067ac112b3c?d=identicon)[halloverden](/maintainers/halloverden)

![](https://www.gravatar.com/avatar/944da5ba62000d8d54fdeabb71bb8554596caabae0cadcc2433028105c5d80c8?d=identicon)[erichjsonfosse](/maintainers/erichjsonfosse)

---

Top Contributors

[![marco-giannetti](https://avatars.githubusercontent.com/u/54795542?v=4)](https://github.com/marco-giannetti "marco-giannetti (2 commits)")

---

Tags

azure-application-insightsexceptionssymfony-bundletrackingsymfonyloggingexceptionazureApplication Insights

### Embed Badge

![Health badge](/badges/halloverden-symfony-application-insights-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/halloverden-symfony-application-insights-bundle/health.svg)](https://phpackages.com/packages/halloverden-symfony-application-insights-bundle)
```

###  Alternatives

[sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

73761.4M66](/packages/sentry-sentry-symfony)[bugsnag/bugsnag-symfony

Official BugSnag notifier for Symfony applications.

453.0M3](/packages/bugsnag-bugsnag-symfony)[friendsofopentelemetry/opentelemetry-bundle

Traces, metrics, and logs instrumentation within your Symfony application

638.6k](/packages/friendsofopentelemetry-opentelemetry-bundle)[marchie/ms-application-insights-laravel

Microsoft Azure Application Insights for Laravel 5

134.0k](/packages/marchie-ms-application-insights-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
