From f344fe49e2b1d542974e681a520fcef30b4126e0 Mon Sep 17 00:00:00 2001 From: Benjamin Clay Date: Fri, 3 Aug 2012 14:27:22 +0300 Subject: [PATCH] Update installation doc It's better to use composer.phar require, composer does everything for you, if you want to do it by yourself, it's safer to update only the new bundle. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cef3a8a..eae1e32 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,15 @@ review http://newrelic.com ... ### Step 1: Using Composer (recommended) +Use `composer.phar`: -First, add the following to your `composer.json` file: +```bash +$ 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: ```js // composer.json @@ -38,7 +45,7 @@ Then, you can install the new dependencies by running Composer's ``update`` command from the directory where your ``composer.json`` file is located: ```bash -$ php composer.phar update +$ php composer.phar update ekino/newrelic-bundle ``` ### Step 1 (alternative) : Using ``deps`` file (Symfony 2.0.x)