PHPackages                             anjalirana/newrelic-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. anjalirana/newrelic-bundle

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

anjalirana/newrelic-bundle
==========================

Integrate New Relic into Symfony2 with ignore transactions update

1.2.3(11y ago)019MITPHP

Since May 2Pushed 11y ago4 watchersCompare

[ Source](https://github.com/anjalirana/EkinoNewRelicBundle)[ Packagist](https://packagist.org/packages/anjalirana/newrelic-bundle)[ Docs](https://github.com/temando/EkinoNewRelicBundle)[ RSS](/packages/anjalirana-newrelic-bundle/feed)WikiDiscussions master Synced 1mo ago

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

Ekino NewRelic Bundle
=====================

[](#ekino-newrelic-bundle)

[![Build Status](https://camo.githubusercontent.com/2f7e1ecc0849b4c6e576665728377436ca33a073e668b5555f5d0f46b6750e76/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f656b696e6f2f456b696e6f4e657752656c696342756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/ekino/EkinoNewRelicBundle)

This bundle integrates the NewRelic PHP API into Symfony2. For more information about NewRelic, please visit .

The bundle can use either the route name or the controller name as the transaction name. For CLI commands the transaction name is the command name.

Result
------

[](#result)

[![Ekino NewRelicBundle](https://camo.githubusercontent.com/a609736ae9198e8d4485ca2865a8bf62b27e803f6f0733957cdfbf9c4b98a2f0/68747470733a2f2f646c2e64726f70626f782e636f6d2f732f627566623666386f30656e6435786f2f656b696e6f5f6e657772656c69635f62756e646c652e706e67 "Ekino NewRelicBundle")](https://camo.githubusercontent.com/a609736ae9198e8d4485ca2865a8bf62b27e803f6f0733957cdfbf9c4b98a2f0/68747470733a2f2f646c2e64726f70626f782e636f6d2f732f627566623666386f30656e6435786f2f656b696e6f5f6e657772656c69635f62756e646c652e706e67)

Installation
------------

[](#installation)

### Step 0 : Install NewRelic

[](#step-0--install-newrelic)

review  ...

### Step 1: Using Composer (recommended)

[](#step-1-using-composer-recommended)

Use `composer.phar`:

```
$ php composer.phar require ekino/newrelic-bundle
```

You just have to specify the version you want : `master-dev`. It will add the package in your `composer.json` file and install it.

Or you can do it by yourself, first, add the following to your `composer.json` file:

```
// composer.json
{
    // ...
    require: {
        // ...
        "ekino/newrelic-bundle": "master-dev"
    }
}
```

Then, you can install the new dependencies by running Composer's `update`command from the directory where your `composer.json` file is located:

```
$ php composer.phar update ekino/newrelic-bundle
```

### Step 1 (alternative) : Using `deps` file (Symfony 2.0.x)

[](#step-1-alternative--using-deps-file-symfony-20x)

First, checkout a copy of the code. Just add the following to the `deps`file of your Symfony Standard Distribution:

```
[EkinoNewRelicBundle]
    git=http://github.com/ekino/EkinoNewRelicBundle.git
    target=/bundles/Ekino/Bundle/NewRelicBundle
```

Then, run

```
$ bin/vendors install
```

Make sure that you also register the namespace with the autoloader:

```
