From ff817a567c2ddb697edbd4ac6d54b364c8529e71 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Fri, 20 Jul 2012 17:35:38 +0200 Subject: [PATCH] Update README --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 414d63f..56772e9 100644 --- a/README.md +++ b/README.md @@ -11,16 +11,15 @@ For Symfony 2.0.x, you need to use the 1.* version of the bundle. ## Installation ## +Add this bundle to your `composer.json` file: -Register the namespace in `app/autoload.php`: + { + "require": { + "nelmio/api-doc-bundle": "dev-master" + } + } - // app/autoload.php - $loader->registerNamespaces(array( - // ... - 'Nelmio' => __DIR__.'/../vendor/bundles', - )); - -Register the bundles in `app/AppKernel.php`: +Register the bundle in `app/AppKernel.php`: // app/AppKernel.php public function registerBundles()